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

Unified Diff: third_party/WebKit/Source/core/frame/VisualViewport.cpp

Issue 1785953002: Ignore viewport meta tags when Request Desktop Site is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix more tests Created 4 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
Index: third_party/WebKit/Source/core/frame/VisualViewport.cpp
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.cpp b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
index 8b88e82bdb3d9b1d1a9615b3aff2850ecb11372c..0e6b2454e4879da4214ef1d7a4409cdaadc32158 100644
--- a/third_party/WebKit/Source/core/frame/VisualViewport.cpp
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
@@ -416,7 +416,7 @@ void VisualViewport::registerLayersWithTreeView(WebLayerTreeView* layerTreeView)
bool VisualViewport::visualViewportSuppliesScrollbars() const
{
- return frameHost().settings().viewportMetaEnabled();
+ return frameHost().settings().viewportEnabled();
}
bool VisualViewport::scrollAnimatorEnabled() const

Powered by Google App Engine
This is Rietveld 408576698