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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.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: Use std::set Created 4 years, 8 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/paint/PaintLayerScrollableArea.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
index 087eaa3ce71a05b843d9fc3e4dfbb19d7e495d8f..5cbad74c0712eab45fc51f9d37312013da2bed2b 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
@@ -1453,7 +1453,7 @@ bool PaintLayerScrollableArea::visualViewportSuppliesScrollbars() const
if (!frame || !frame->isMainFrame() || !frame->settings())
return false;
- return frame->settings()->viewportMetaEnabled();
+ return frame->settings()->viewportEnabled();
}
Widget* PaintLayerScrollableArea::getWidget()

Powered by Google App Engine
This is Rietveld 408576698