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

Unified Diff: runtime/vm/service.cc

Issue 219333011: Change how we provide value previews in the vm service. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix tests / gen js Created 6 years, 9 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/object_test.cc ('k') | runtime/vm/service_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service.cc
diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc
index 384ffa5fc52f1e7067d937cc6fac71e78a1ff19f..9d76bd5feae64aa0acaba5f3b54ed7d452ca2caf 100644
--- a/runtime/vm/service.cc
+++ b/runtime/vm/service.cc
@@ -1118,7 +1118,7 @@ static void PrintPseudoNull(JSONStream* js,
JSONObject jsobj(js);
jsobj.AddProperty("type", "Null");
jsobj.AddProperty("id", id);
- jsobj.AddProperty("preview", preview);
+ jsobj.AddProperty("valueAsString", preview);
}
« no previous file with comments | « runtime/vm/object_test.cc ('k') | runtime/vm/service_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698