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

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: Disable HandheldFriendlyMeta and MobileOptimizedMeta as well 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 36f962068c3dd39c9ee25752b4aa7b901fa75685..21824ed71be1e2d29257da188aba96dec22c5989 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