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

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

Issue 2454913003: MainFrame scrollbars should work with RFV instead of FV (Closed)
Patch Set: Fix failing test Created 4 years, 1 month 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 b5ff43d9e63497e3970144fc3f3c584c8fc61f91..3add25fba605bf95d123cc55193a9a2417217b8c 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
@@ -1763,6 +1763,13 @@ PaintLayerScrollableArea::compositorAnimationTimeline() const {
return nullptr;
}
+void PaintLayerScrollableArea::getTickmarks(Vector<IntRect>& tickmarks) const {
+ // TODO(crbug.com/417782): Verify that tickmarks work with root layer
+ // scrolling.
+ if (LocalFrame* frame = box().frame())
skobes 2016/11/10 21:10:47 I think you also need to check isRootLayer() here?
ymalik 2016/11/10 21:22:48 Yes. Done.
+ frame->view()->getTickmarks(tickmarks);
+}
+
PaintLayerScrollableArea*
PaintLayerScrollableArea::ScrollbarManager::scrollableArea() {
return toPaintLayerScrollableArea(m_scrollableArea.get());

Powered by Google App Engine
This is Rietveld 408576698