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

Unified Diff: runtime/vm/json_stream.cc

Issue 257053003: Always use the same json for null in the vm service. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js Created 6 years, 8 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/json_test.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 cf5138cc6484ed7b488590e884ff6c154aeba25d..57a675d77b2fdd87fc8b35d90bdebe24f5eb0f6d 100644
--- a/runtime/vm/json_stream.cc
+++ b/runtime/vm/json_stream.cc
@@ -237,19 +237,19 @@ void JSONStream::PrintfValue(const char* format, ...) {
void JSONStream::PrintValue(const Object& o, bool ref) {
PrintCommaIfNeeded();
- o.PrintToJSONStream(this, ref);
+ o.PrintJSON(this, ref);
}
void JSONStream::PrintValue(SourceBreakpoint* bpt) {
PrintCommaIfNeeded();
- bpt->PrintToJSONStream(this);
+ bpt->PrintJSON(this);
}
void JSONStream::PrintValue(Isolate* isolate, bool ref) {
PrintCommaIfNeeded();
- isolate->PrintToJSONStream(this, ref);
+ isolate->PrintJSON(this, ref);
}
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/json_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698