| 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_;
|
|
|