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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.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/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index ef885999641b7b495cfeecfa715fe3f8412150dd..3572f1f602b48038ef234dac2bd155188738d642 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -3013,7 +3013,7 @@ bool FrameView::isFlippedDocument() const
bool FrameView::visualViewportSuppliesScrollbars() const
{
- return m_frame->isMainFrame() && m_frame->settings() && m_frame->settings()->viewportMetaEnabled();
+ return m_frame->isMainFrame() && m_frame->settings() && m_frame->settings()->viewportEnabled();
}
AXObjectCache* FrameView::axObjectCache() const

Powered by Google App Engine
This is Rietveld 408576698