summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorjunov@chromium.org <junov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-24 05:26:21 +0000
committerjunov@chromium.org <junov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-24 05:26:21 +0000
commitbe10e9c6ad2da255dbdb2d15cdccf8a6bebfee8b (patch)
tree174a642f5996bf4d01f7a14ea225f24c617ea40e /webkit
parent05e489c0f0d2a12c70f7dc053eb28dc6546503e8 (diff)
downloadchromium_src-be10e9c6ad2da255dbdb2d15cdccf8a6bebfee8b.zip
chromium_src-be10e9c6ad2da255dbdb2d15cdccf8a6bebfee8b.tar.gz
chromium_src-be10e9c6ad2da255dbdb2d15cdccf8a6bebfee8b.tar.bz2
Removing command line switch to disable deferred 2d canvas.
Also removing the lab in about:flags that references the switch. BUG=195766 TEST=None. Review URL: https://chromiumcodereview.appspot.com/12871012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190208 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/glue/webpreferences.cc4
-rw-r--r--webkit/glue/webpreferences.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc
index 62a21a5..b9c18c1 100644
--- a/webkit/glue/webpreferences.cc
+++ b/webkit/glue/webpreferences.cc
@@ -94,7 +94,6 @@ WebPreferences::WebPreferences()
accelerated_compositing_for_video_enabled(false),
accelerated_2d_canvas_enabled(false),
minimum_accelerated_2d_canvas_size(257 * 256),
- deferred_2d_canvas_enabled(false),
antialiased_2d_canvas_disabled(false),
accelerated_filters_enabled(false),
gesture_tap_highlight_enabled(false),
@@ -381,9 +380,6 @@ void WebPreferences::Apply(WebView* web_view) const {
settings->setMinimumAccelerated2dCanvasSize(
minimum_accelerated_2d_canvas_size);
- // Enable deferred 2d canvas if requested on the command line.
- settings->setDeferred2dCanvasEnabled(deferred_2d_canvas_enabled);
-
// Disable antialiasing for 2d canvas if requested on the command line.
settings->setAntialiased2dCanvasEnabled(!antialiased_2d_canvas_disabled);
diff --git a/webkit/glue/webpreferences.h b/webkit/glue/webpreferences.h
index b4c0fc3..f67281d 100644
--- a/webkit/glue/webpreferences.h
+++ b/webkit/glue/webpreferences.h
@@ -118,7 +118,6 @@ struct WEBKIT_GLUE_EXPORT WebPreferences {
bool accelerated_compositing_for_video_enabled;
bool accelerated_2d_canvas_enabled;
int minimum_accelerated_2d_canvas_size;
- bool deferred_2d_canvas_enabled;
bool antialiased_2d_canvas_disabled;
bool accelerated_filters_enabled;
bool gesture_tap_highlight_enabled;