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

Unified Diff: runtime/vm/object.cc

Issue 376293003: Observatory: Promote function to ServiceObject (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: add deployed/ Created 6 years, 5 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 47a4cf502df67f01728b94a8b4f5ddc267ce1caa..806399a92d9383e289b394eabd2067eb56993b33 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -6663,9 +6663,9 @@ void Function::PrintJSONImpl(JSONStream* stream, bool ref) const {
jsobj.AddProperty("user_name", pretty_name);
if (cls.IsTopLevel()) {
const Library& library = Library::Handle(cls.library());
- jsobj.AddProperty("owner", library);
+ jsobj.AddProperty("owningLibrary", library);
} else {
- jsobj.AddProperty("owner", cls);
+ jsobj.AddProperty("owningClass", cls);
}
const Function& parent = Function::Handle(parent_function());
if (!parent.IsNull()) {
« 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