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

Unified Diff: runtime/vm/json_stream.cc

Issue 1140263005: Revert "Hide Isolate pointer from embedder" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
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
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/native_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/json_stream.cc
diff --git a/runtime/vm/json_stream.cc b/runtime/vm/json_stream.cc
index 6ad58623e679c5c7cf208a533932b569eb7a087f..2ed62efd8c1caf16ed1ab3bfaa4e79f129dc22e6 100644
--- a/runtime/vm/json_stream.cc
+++ b/runtime/vm/json_stream.cc
@@ -25,7 +25,7 @@ JSONStream::JSONStream(intptr_t buf_size)
default_id_zone_(Isolate::Current()->object_id_ring(),
ObjectIdRing::kAllocateId),
id_zone_(&default_id_zone_),
- reply_port_(DART_ILLEGAL_PORT),
+ reply_port_(ILLEGAL_PORT),
seq_(""),
method_(""),
param_keys_(NULL),
@@ -159,8 +159,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 != DART_ILLEGAL_PORT);
- set_reply_port(DART_ILLEGAL_PORT); // Prevent double replies.
+ ASSERT(port != ILLEGAL_PORT);
+ set_reply_port(ILLEGAL_PORT); // Prevent double replies.
int64_t process_delta_micros = 0;
if (FLAG_trace_service) {
process_delta_micros = OS::GetCurrentTimeMicros() - setup_time_micros_;
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/native_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698