Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: runtime/bin/dartutils.cc

Issue 1130753006: Hide Isolate pointer from embedder (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/dartutils.cc
diff --git a/runtime/bin/dartutils.cc b/runtime/bin/dartutils.cc
index 745efbef013fde3b31ec8aa2bfb345f911c2158b..04aa5ffdb942c75dacd6030423cc17b86d91531f 100644
--- a/runtime/bin/dartutils.cc
+++ b/runtime/bin/dartutils.cc
@@ -480,7 +480,7 @@ Dart_Handle DartUtils::LoadScript(const char* script_uri,
Dart_Handle uri = Dart_NewStringFromCString(script_uri);
Dart_Port load_port = Dart_ServiceWaitForLoadPort();
- if (load_port == ILLEGAL_PORT) {
+ if (load_port == DART_ILLEGAL_PORT) {
return NewDartUnsupportedError("Service did not return load port.");
}
Builtin::SetLoadPort(load_port);

Powered by Google App Engine
This is Rietveld 408576698