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

Unified Diff: webkit/glue/webpreferences.cc

Issue 10827267: Remove unused include and always-true compile-time check (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 4 months 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.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webpreferences.cc
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc
index 34e9b4d1a9d56b0910acad8139de5f0504ee06de..633502350198c21a58644463737b3edcb97676a8 100644
--- a/webkit/glue/webpreferences.cc
+++ b/webkit/glue/webpreferences.cc
@@ -106,11 +106,6 @@ WebPreferences::WebPreferences()
css_variables_enabled(false),
device_supports_touch(false),
device_supports_mouse(true),
-#if !defined(WEBCOMPOSITOR_OWNS_SETTINGS)
- threaded_animation_enabled(false),
- per_tile_painting_enabled(false),
- partial_swap_enabled(false),
-#endif
default_tile_width(256),
default_tile_height(256),
max_untiled_layer_width(512),
@@ -397,16 +392,6 @@ void WebPreferences::Apply(WebView* web_view) const {
settings->setDeviceSupportsTouch(device_supports_touch);
settings->setDeviceSupportsMouse(device_supports_mouse);
-#if !defined(WEBCOMPOSITOR_OWNS_SETTINGS)
- settings->setThreadedAnimationEnabled(threaded_animation_enabled);
-
- // Enable per-tile painting if requested on the command line.
- settings->setPerTilePaintingEnabled(per_tile_painting_enabled);
-
- // Enable partial swaps if specified form the command line.
- settings->setPartialSwapEnabled(partial_swap_enabled);
-#endif
-
settings->setDefaultTileSize(
WebSize(default_tile_width, default_tile_height));
settings->setMaxUntiledLayerSize(
« no previous file with comments | « webkit/glue/webpreferences.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698