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

Unified Diff: webkit/glue/webkit_glue.cc

Issue 8905006: Add --dart-flags and --disable-dart command line switches. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years 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 | « webkit/glue/webkit_glue.h ('k') | webkit/glue/webpreferences.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webkit_glue.cc
diff --git a/webkit/glue/webkit_glue.cc b/webkit/glue/webkit_glue.cc
index cf4f4526629688d7b531fb32e5666e418221efcd..e16b6177f0b143b20970471f8cb8653410a91ca1 100644
--- a/webkit/glue/webkit_glue.cc
+++ b/webkit/glue/webkit_glue.cc
@@ -85,6 +85,12 @@ void SetJavaScriptFlags(const std::string& str) {
#endif
}
+void SetDartFlags(const std::string& str) {
+#if WEBKIT_USING_DART
+ WebKit::setDartFlags(str.data(), static_cast<int>(str.size()));
+#endif
+}
+
void EnableWebCoreLogChannels(const std::string& channels) {
if (channels.empty())
return;
« no previous file with comments | « webkit/glue/webkit_glue.h ('k') | webkit/glue/webpreferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698