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

Unified Diff: bin/main.cc

Issue 8574075: Fix prototype of Dart_Initialize. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 9 years, 1 month 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 | « bin/gen_snapshot.cc ('k') | include/dart_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/main.cc
===================================================================
--- bin/main.cc (revision 1632)
+++ bin/main.cc (working copy)
@@ -218,7 +218,7 @@
// Initialize the Dart VM (TODO(asiva) - remove const_cast once
// dart API is fixed to take a const char** in Dart_Initialize).
Dart_Initialize(vm_options.count(),
- const_cast<char**>(vm_options.arguments()),
+ vm_options.arguments(),
MainIsolateInitCallback);
// Create an isolate. As a side effect, MainIsolateInitCallback
« no previous file with comments | « bin/gen_snapshot.cc ('k') | include/dart_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698