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

Unified Diff: runtime/vm/object.cc

Issue 262303002: Observatory grab-bag for 1.4 release. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js Created 6 years, 7 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/bin/vmservice/client/lib/src/service/object.dart ('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 c5940a5ee5d27ef4e6fd76b65e4f99dec3583e89..0de366fd2906a61d189a8fd2bd4fd05bc5006740 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -9332,11 +9332,11 @@ void Library::PrintJSONImpl(JSONStream* stream, bool ref) const {
jsobj.AddPropertyF("id", "libraries/%" Pd "", id);
jsobj.AddProperty("user_name", library_name);
jsobj.AddProperty("name", library_name);
+ const char* library_url = String::Handle(url()).ToCString();
+ jsobj.AddProperty("url", library_url);
if (ref) {
return;
}
- const char* library_url = String::Handle(url()).ToCString();
- jsobj.AddProperty("url", library_url);
{
JSONArray jsarr(&jsobj, "classes");
ClassDictionaryIterator class_iter(*this);
« no previous file with comments | « runtime/bin/vmservice/client/lib/src/service/object.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698