diff options
author | antonm@chromium.org <antonm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-03 13:39:45 +0000 |
---|---|---|
committer | antonm@chromium.org <antonm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-03 13:39:45 +0000 |
commit | 69bf9bce1ed7e0464287fce03a9d4df2dd8bdb13 (patch) | |
tree | edb50451d253f64adf3dc16cb393d9473fadfefa /webkit/tools | |
parent | e1035cd84b8cb43dcbe1e40a7f2fd4ac960343cc (diff) | |
download | chromium_src-69bf9bce1ed7e0464287fce03a9d4df2dd8bdb13.zip chromium_src-69bf9bce1ed7e0464287fce03a9d4df2dd8bdb13.tar.gz chromium_src-69bf9bce1ed7e0464287fce03a9d4df2dd8bdb13.tar.bz2 |
Do not use setDartFlags API as we're now passing flags by other means.
Review URL: http://codereview.chromium.org/9307062
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120323 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools')
-rw-r--r-- | webkit/tools/test_shell/test_shell_main.cc | 7 | ||||
-rw-r--r-- | webkit/tools/test_shell/test_shell_switches.cc | 5 | ||||
-rw-r--r-- | webkit/tools/test_shell/test_shell_switches.h | 3 |
3 files changed, 3 insertions, 12 deletions
diff --git a/webkit/tools/test_shell/test_shell_main.cc b/webkit/tools/test_shell/test_shell_main.cc index 53c1792..782d27b 100644 --- a/webkit/tools/test_shell/test_shell_main.cc +++ b/webkit/tools/test_shell/test_shell_main.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -286,11 +286,6 @@ 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. diff --git a/webkit/tools/test_shell/test_shell_switches.cc b/webkit/tools/test_shell/test_shell_switches.cc index 3143ec1..867f831 100644 --- a/webkit/tools/test_shell/test_shell_switches.cc +++ b/webkit/tools/test_shell/test_shell_switches.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -85,7 +85,4 @@ const char kEnableAccel2DCanvas[] = "enable-accelerated-2d-canvas"; const char kEnableAccelCompositing[] = "enable-accelerated-compositing"; -// Options to pass to the Dart VM. -const char kDartFlags[] = "dart-flags"; - } // namespace test_shell diff --git a/webkit/tools/test_shell/test_shell_switches.h b/webkit/tools/test_shell/test_shell_switches.h index c5d4255..e2cc6d1 100644 --- a/webkit/tools/test_shell/test_shell_switches.h +++ b/webkit/tools/test_shell/test_shell_switches.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -34,7 +34,6 @@ extern const char kHeapProfiler[]; extern const char kAllowExternalPages[]; extern const char kEnableAccel2DCanvas[]; extern const char kEnableAccelCompositing[]; -extern const char kDartFlags[]; } // namespace test_shell |