Index: runtime/vm/native_api_impl.cc |
diff --git a/runtime/vm/native_api_impl.cc b/runtime/vm/native_api_impl.cc |
index db22e37a54115b51c85b7e2e8cf52e9cb1557277..a3cd5c1a702822a7335e8989fb22987a10243da5 100644 |
--- a/runtime/vm/native_api_impl.cc |
+++ b/runtime/vm/native_api_impl.cc |
@@ -44,7 +44,7 @@ DART_EXPORT Dart_Port Dart_NewNativePort(const char* name, |
if (handler == NULL) { |
OS::PrintErr("%s expects argument 'handler' to be non-null.\n", |
CURRENT_FUNC); |
- return DART_ILLEGAL_PORT; |
+ return ILLEGAL_PORT; |
} |
// Start the native port without a current isolate. |
IsolateSaver saver(Isolate::Current()); |