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

Unified Diff: runtime/bin/eventhandler.cc

Issue 9642003: Start using Dart_SetField and Dart_GetField in the vm. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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/directory.cc ('k') | runtime/bin/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/eventhandler.cc
===================================================================
--- runtime/bin/eventhandler.cc (revision 5182)
+++ runtime/bin/eventhandler.cc (working copy)
@@ -62,7 +62,7 @@
intptr_t id = DartUtils::GetIntegerValue(Dart_GetNativeArgument(args, 1));
handle = Dart_GetNativeArgument(args, 2);
Dart_Port dart_port =
- DartUtils::GetIntegerInstanceField(handle, DartUtils::kIdFieldName);
+ DartUtils::GetIntegerField(handle, DartUtils::kIdFieldName);
intptr_t data = DartUtils::GetIntegerValue(Dart_GetNativeArgument(args, 3));
event_handler->SendData(id, dart_port, data);
Dart_ExitScope();
« no previous file with comments | « runtime/bin/directory.cc ('k') | runtime/bin/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698