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

Unified Diff: runtime/vm/json_stream.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/vm/json_stream.cc
diff --git a/runtime/vm/json_stream.cc b/runtime/vm/json_stream.cc
index c122bb787e24132a107acf53fd4ce4e6887c913d..e528e89e5240efb595dd45fa146772fbd0c803c9 100644
--- a/runtime/vm/json_stream.cc
+++ b/runtime/vm/json_stream.cc
@@ -21,7 +21,7 @@ DECLARE_FLAG(bool, trace_service);
JSONStream::JSONStream(intptr_t buf_size)
: open_objects_(0),
buffer_(buf_size),
- reply_port_(ILLEGAL_PORT),
+ reply_port_(DART_ILLEGAL_PORT),
seq_(""),
method_(""),
param_keys_(NULL),
@@ -87,8 +87,8 @@ static uint8_t* allocator(uint8_t* ptr, intptr_t old_size, intptr_t new_size) {
void JSONStream::PostReply() {
Dart_Port port = reply_port();
- ASSERT(port != ILLEGAL_PORT);
- set_reply_port(ILLEGAL_PORT); // Prevent double replies.
+ ASSERT(port != DART_ILLEGAL_PORT);
+ set_reply_port(DART_ILLEGAL_PORT); // Prevent double replies.
int64_t process_delta_micros = 0;
if (FLAG_trace_service) {
process_delta_micros = OS::GetCurrentTimeMicros() - setup_time_micros_;

Powered by Google App Engine
This is Rietveld 408576698