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

Unified Diff: runtime/vm/mirrors_api_impl.cc

Issue 23757051: Make Dart_FunctionOwner return handles on Types rather than Classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/mirrors_api_impl.cc
diff --git a/runtime/vm/mirrors_api_impl.cc b/runtime/vm/mirrors_api_impl.cc
index 4fd535fba1e6611493a5d26129f8d370bb40cba4..e6826c9b4b27efa7d8d945304f45a3b5ca6aa0e1 100644
--- a/runtime/vm/mirrors_api_impl.cc
+++ b/runtime/vm/mirrors_api_impl.cc
@@ -234,7 +234,7 @@ DART_EXPORT Dart_Handle Dart_FunctionOwner(Dart_Handle function) {
#endif
return Api::NewHandle(isolate, owner.library());
} else {
- return Api::NewHandle(isolate, owner.raw());
+ return Api::NewHandle(isolate, owner.RareType());
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698