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

Unified Diff: content/renderer/render_view_impl.cc

Issue 2773403003: Removed device_supports_touch. (Closed)
Patch Set: Preserved old touch-flag behavior. Created 3 years, 9 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 | « content/public/common/web_preferences.cc ('k') | third_party/WebKit/Source/web/WebSettingsImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 0c57eceedfeb4a5ff928e02c11661de31f1f4558..9bceeb36a27dec0912db59a48ce90564d8b32e88 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -960,7 +960,6 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
settings->setAvailableHoverTypes(prefs.available_hover_types);
settings->setPrimaryHoverType(
static_cast<blink::HoverType>(prefs.primary_hover_type));
- settings->setDeviceSupportsTouch(prefs.device_supports_touch);
settings->setEnableTouchAdjustment(prefs.touch_adjustment_enabled);
WebRuntimeFeatures::enableColorCorrectRendering(
« no previous file with comments | « content/public/common/web_preferences.cc ('k') | third_party/WebKit/Source/web/WebSettingsImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698