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

Unified Diff: runtime/vm/object.cc

Issue 507063002: Did you mean const? (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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/flow_graph_optimizer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 5c138fe05b5bbd4ee5c938593c71a2df3bfcc076..c1311238e72b613bf07517b72a78fa65ca638022 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -18003,7 +18003,7 @@ void Bool::PrintJSONImpl(JSONStream* stream, bool ref) const {
JSONObject jsobj(stream);
jsobj.AddProperty("type", JSONType(ref));
jsobj.AddPropertyF("id", "objects/bool-%s", str);
- class Class& cls = Class::Handle(this->clazz());
+ const Class& cls = Class::Handle(this->clazz());
jsobj.AddProperty("class", cls);
jsobj.AddPropertyF("valueAsString", "%s", str);
}
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698