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

Unified Diff: third_party/WebKit/Source/core/frame/VisualViewport.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/frame/VisualViewport.cpp
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.cpp b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
index d5bac5cc3150b04869ee29350f66a3cf8ed33efd..b5f5e4236d675625417e873faac8ad0f3cfd5ca9 100644
--- a/third_party/WebKit/Source/core/frame/VisualViewport.cpp
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
@@ -674,8 +674,8 @@ LocalFrame* VisualViewport::MainFrame() const {
: 0;
}
-FrameViewBase* VisualViewport::GetFrameViewBase() {
- return MainFrame()->View();
+bool VisualViewport::ScheduleAnimation() {
+ return MainFrame()->ScheduleAnimation(GetHostWindow());
}
void VisualViewport::ClampToBoundaries() {

Powered by Google App Engine
This is Rietveld 408576698