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

Unified Diff: runtime/vm/service.cc

Issue 1162033005: Fix http://dartbug.com/23578: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Update to ToT. Created 5 years, 6 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/service.cc
diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc
index 278f7ce3290b10caa915afbdc065a9276f47fae1..0593f7faa5edd29610cd8a5c1f164c3c2c2aecf0 100644
--- a/runtime/vm/service.cc
+++ b/runtime/vm/service.cc
@@ -2605,8 +2605,8 @@ static bool GetVM(Isolate* isolate, JSONStream* js) {
// pids > 53-bits (when consumed by JavaScript).
// TODO(johnmccutchan): Codify how integers are sent across the service.
jsobj.AddPropertyF("pid", "%" Pd "", OS::ProcessId());
- jsobj.AddProperty("_assertsEnabled", isolate->AssertsEnabled());
- jsobj.AddProperty("_typeChecksEnabled", isolate->TypeChecksEnabled());
+ jsobj.AddProperty("_assertsEnabled", isolate->flags().asserts());
+ jsobj.AddProperty("_typeChecksEnabled", isolate->flags().type_checks());
int64_t start_time_millis = (Dart::vm_isolate()->start_time() /
kMicrosecondsPerMillisecond);
jsobj.AddProperty64("startTime", start_time_millis);

Powered by Google App Engine
This is Rietveld 408576698