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

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: 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/paint/PaintLayerScrollableArea.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
index c6c9a0cb9f3cd94c8c7cc6782d0fd6addef38c2e..559c68909192c37a40f212262d31ecb3e60dd5dc 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
@@ -1450,7 +1450,7 @@ bool PaintLayerScrollableArea::visualViewportSuppliesScrollbars() const
if (!frame || !frame->isMainFrame() || !frame->settings())
return false;
- return frame->settings()->viewportMetaEnabled();
+ return frame->settings()->viewportEnabled();
}
Widget* PaintLayerScrollableArea::widget()

Powered by Google App Engine
This is Rietveld 408576698