| 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 4e4ff7a468afeee5f77e1ac9d841b71245719009..a172946d81a98602e132dadf8a2bb795fe0dbdc9 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| @@ -203,7 +203,7 @@ DEFINE_TRACE(PaintLayerScrollableArea) {
|
| ScrollableArea::Trace(visitor);
|
| }
|
|
|
| -HostWindow* PaintLayerScrollableArea::GetHostWindow() const {
|
| +PlatformChromeClient* PaintLayerScrollableArea::GetChromeClient() const {
|
| if (Page* page = Box().GetFrame()->GetPage())
|
| return &page->GetChromeClient();
|
| return nullptr;
|
| @@ -1902,8 +1902,8 @@ bool PaintLayerScrollableArea::VisualViewportSuppliesScrollbars() const {
|
| }
|
|
|
| bool PaintLayerScrollableArea::ScheduleAnimation() {
|
| - if (HostWindow* window = GetHostWindow()) {
|
| - window->ScheduleAnimation(Box().GetFrame());
|
| + if (PlatformChromeClient* client = GetChromeClient()) {
|
| + client->ScheduleAnimation(Box().GetFrame());
|
| return true;
|
| }
|
| return false;
|
|
|