summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_shell_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/test_shell_main.cc')
-rw-r--r--webkit/tools/test_shell/test_shell_main.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_shell_main.cc b/webkit/tools/test_shell/test_shell_main.cc
index c36490d..0162db5 100644
--- a/webkit/tools/test_shell/test_shell_main.cc
+++ b/webkit/tools/test_shell/test_shell_main.cc
@@ -215,6 +215,9 @@ int main(int argc, char* argv[]) {
if (!parsed_command_line.HasSwitch(switches::kUseGL))
gfx::InitializeGLBindings(gfx::kGLImplementationOSMesaGL);
+ if (parsed_command_line.HasSwitch(test_shell::kEnableAccel2DCanvas))
+ TestShell::SetAccelerated2dCanvasEnabled(true);
+
// Treat the first argument as the initial URL to open.
GURL starting_url;