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

Unified Diff: third_party/WebKit/Source/core/page/AutoscrollController.cpp

Issue 2873213002: Add PlatformFrameView class. (Closed)
Patch Set: #include PlatformFrameView inside platform.dll Created 3 years, 7 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/page/AutoscrollController.cpp
diff --git a/third_party/WebKit/Source/core/page/AutoscrollController.cpp b/third_party/WebKit/Source/core/page/AutoscrollController.cpp
index ab94c72c659066921957ed123bd6d1f8589fb5e6..42228126b34354524138d8387478430b98df81af 100644
--- a/third_party/WebKit/Source/core/page/AutoscrollController.cpp
+++ b/third_party/WebKit/Source/core/page/AutoscrollController.cpp
@@ -366,13 +366,13 @@ void AutoscrollController::Animate(double) {
}
if (autoscroll_type_ != kNoAutoscroll && autoscroll_layout_object_) {
page_->GetChromeClient().ScheduleAnimation(
- autoscroll_layout_object_->GetFrame());
+ autoscroll_layout_object_->GetFrame()->View());
}
}
void AutoscrollController::StartAutoscroll() {
page_->GetChromeClient().ScheduleAnimation(
- autoscroll_layout_object_->GetFrame());
+ autoscroll_layout_object_->GetFrame()->View());
}
void AutoscrollController::UpdateMiddleClickAutoscrollState(
« no previous file with comments | « third_party/WebKit/Source/core/loader/EmptyClients.h ('k') | third_party/WebKit/Source/core/page/PageAnimator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698