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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp

Issue 2659183002: [RootLayerScrolls] Fix frame scrolling layer in ScrollingCoordinator (Closed)
Patch Set: Created 3 years, 11 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 566d72f847410969a7f382933f7661954dd61a78..b919dcb7664c0aeba42a43e1d823990c77c3992c 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
@@ -566,6 +566,10 @@ IntSize PaintLayerScrollableArea::contentsSize() const {
return IntSize(pixelSnappedScrollWidth(), pixelSnappedScrollHeight());
}
+bool PaintLayerScrollableArea::isScrollable() const {
+ return scrollsOverflow();
+}
+
IntPoint PaintLayerScrollableArea::lastKnownMousePosition() const {
return box().frame() ? box().frame()->eventHandler().lastKnownMousePosition()
: IntPoint();

Powered by Google App Engine
This is Rietveld 408576698