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

Unified Diff: bin/gen_snapshot.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 | « no previous file | bin/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/gen_snapshot.cc
===================================================================
--- bin/gen_snapshot.cc (revision 1632)
+++ bin/gen_snapshot.cc (working copy)
@@ -331,7 +331,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(),
SnapshotCreateCallback);
// Create an isolate. As a side effect, SnapshotCreateCallback
« no previous file with comments | « no previous file | bin/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698