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

Unified Diff: webkit/tools/test_shell/test_shell_main.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/webpreferences.cc ('k') | webkit/tools/test_shell/test_shell_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/test_shell_main.cc
diff --git a/webkit/tools/test_shell/test_shell_main.cc b/webkit/tools/test_shell/test_shell_main.cc
index cc2341e62a75dfd02795505758276763cd7c4f45..53c17923b35ba1e7fc184042f6f08c05c9ea6c35 100644
--- a/webkit/tools/test_shell/test_shell_main.cc
+++ b/webkit/tools/test_shell/test_shell_main.cc
@@ -286,6 +286,11 @@ int main(int argc, char* argv[]) {
extensions_v8::HeapProfilerExtension::Get());
}
+ if (parsed_command_line.HasSwitch(test_shell::kDartFlags)) {
+ webkit_glue::SetDartFlags(
+ parsed_command_line.GetSwitchValueASCII(test_shell::kDartFlags));
+ }
+
// Load and initialize the stats table. Attempt to construct a somewhat
// unique name to isolate separate instances from each other.
« no previous file with comments | « webkit/glue/webpreferences.cc ('k') | webkit/tools/test_shell/test_shell_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698