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

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

Issue 2826893003: Remove ScrollableArea::GetFrameViewBase and move ScheduleAnimation into subclasses. (Closed)
Patch Set: Remove UNREACHED Created 3 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 3eda3a9d35244eb7b1a9b8b71c857b8e5156560d..db92faede365db37f0c8044b9e23695cabcb886c 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
@@ -1901,8 +1901,8 @@ bool PaintLayerScrollableArea::VisualViewportSuppliesScrollbars() const {
controller.GlobalRootScroller()) == this;
}
-FrameViewBase* PaintLayerScrollableArea::GetFrameViewBase() {
- return Box().GetFrame()->View();
+bool PaintLayerScrollableArea::ScheduleAnimation() {
+ return Box().GetFrame()->ScheduleAnimation(GetHostWindow());
}
void PaintLayerScrollableArea::ResetRebuildScrollbarLayerFlags() {

Powered by Google App Engine
This is Rietveld 408576698