Remove lazy layout preference plumbing

This is dead code as the Blink bits were removed in
http://src.chromium.org/viewvc/blink?view=revision&revision=156126

Review URL: https://codereview.chromium.org/326823003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276417 0039d316-1c4b-4281-b951-d872f2087c98
parent 13d7fec7
......@@ -412,8 +412,6 @@ WebPreferences RenderViewHostImpl::GetWebkitPrefs(const GURL& url) {
!command_line.HasSwitch(switches::kDisableDeferredFilters);
prefs.container_culling_enabled =
command_line.HasSwitch(switches::kEnableContainerCulling);
prefs.lazy_layout_enabled =
command_line.HasSwitch(switches::kEnableExperimentalWebPlatformFeatures);
prefs.region_based_columns_enabled =
command_line.HasSwitch(switches::kEnableRegionBasedColumns);
......
......@@ -157,7 +157,6 @@ IPC_STRUCT_TRAITS_BEGIN(WebPreferences)
IPC_STRUCT_TRAITS_MEMBER(enable_scroll_animator)
IPC_STRUCT_TRAITS_MEMBER(password_echo_enabled)
IPC_STRUCT_TRAITS_MEMBER(should_clear_document_background)
IPC_STRUCT_TRAITS_MEMBER(lazy_layout_enabled)
IPC_STRUCT_TRAITS_MEMBER(region_based_columns_enabled)
IPC_STRUCT_TRAITS_MEMBER(touch_enabled)
IPC_STRUCT_TRAITS_MEMBER(device_supports_touch)
......
......@@ -258,7 +258,6 @@ void ApplyWebPreferences(const WebPreferences& prefs, WebView* web_view) {
settings->setRegionBasedColumnsEnabled(prefs.region_based_columns_enabled);
WebRuntimeFeatures::enableLazyLayout(prefs.lazy_layout_enabled);
WebRuntimeFeatures::enableTouch(prefs.touch_enabled);
settings->setMaxTouchPoints(prefs.pointer_events_max_touch_points);
settings->setDeviceSupportsTouch(prefs.device_supports_touch);
......
......@@ -75,7 +75,6 @@ WebPreferences::WebPreferences()
should_print_backgrounds(false),
should_clear_document_background(true),
enable_scroll_animator(false),
lazy_layout_enabled(false),
region_based_columns_enabled(false),
touch_enabled(false),
device_supports_touch(false),
......
......@@ -125,7 +125,6 @@ struct WEBKIT_COMMON_EXPORT WebPreferences {
bool should_clear_document_background;
bool enable_scroll_animator;
bool css_variables_enabled;
bool lazy_layout_enabled;
bool region_based_columns_enabled;
bool touch_enabled;
bool device_supports_touch;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment