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

Unified Diff: runtime/bin/main.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/eventhandler.cc ('k') | runtime/bin/process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/main.cc
===================================================================
--- runtime/bin/main.cc (revision 5182)
+++ runtime/bin/main.cc (working copy)
@@ -199,7 +199,7 @@
return script_name_name;
}
Dart_Handle set_script_name =
- Dart_SetStaticField(runtime_options_class, script_name_name, dart_script);
+ Dart_SetField(runtime_options_class, script_name_name, dart_script);
if (Dart_IsError(set_script_name)) {
return set_script_name;
}
@@ -208,9 +208,7 @@
return native_name;
}
- return Dart_SetStaticField(runtime_options_class,
- native_name,
- dart_arguments);
+ return Dart_SetField(runtime_options_class, native_name, dart_arguments);
}
« no previous file with comments | « runtime/bin/eventhandler.cc ('k') | runtime/bin/process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698