summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webpreferences.h
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-29 18:47:09 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-29 18:47:09 +0000
commitaea7cab06f32dd29934a8244097780b8489b3a2a (patch)
treefcef23adea08e98e30c2a752a6ee6ba45a606be8 /webkit/glue/webpreferences.h
parent000de16cb7cb64db108b2e9cc914eff8608ae70c (diff)
downloadchromium_src-aea7cab06f32dd29934a8244097780b8489b3a2a.zip
chromium_src-aea7cab06f32dd29934a8244097780b8489b3a2a.tar.gz
chromium_src-aea7cab06f32dd29934a8244097780b8489b3a2a.tar.bz2
Add a command line switch to control accelerated 2d canvas
TEST=none BUG=none Review URL: http://codereview.chromium.org/2873074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54159 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webpreferences.h')
-rw-r--r--webkit/glue/webpreferences.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/glue/webpreferences.h b/webkit/glue/webpreferences.h
index 3e4f926..2b7f532 100644
--- a/webkit/glue/webpreferences.h
+++ b/webkit/glue/webpreferences.h
@@ -64,6 +64,7 @@ struct WebPreferences {
bool experimental_webgl_enabled;
bool show_composited_layer_borders;
bool accelerated_compositing_enabled;
+ bool accelerated_2d_canvas_enabled;
bool enable_html5_parser;
bool memory_info_enabled;
@@ -110,6 +111,7 @@ struct WebPreferences {
experimental_webgl_enabled(false),
show_composited_layer_borders(false),
accelerated_compositing_enabled(false),
+ accelerated_2d_canvas_enabled(false),
enable_html5_parser(true),
memory_info_enabled(false) {
}