| 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 cc2251298cae6ba96f87e7bc755dcae069422c48..fd7477384c459eb4efef22a624703aca9a7bfa1b 100644
|
| --- a/third_party/WebKit/Source/core/frame/VisualViewport.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
|
| @@ -494,7 +494,7 @@ bool VisualViewport::ScrollAnimatorEnabled() const {
|
| return GetPage().GetSettings().GetScrollAnimatorEnabled();
|
| }
|
|
|
| -HostWindow* VisualViewport::GetHostWindow() const {
|
| +PlatformChromeClient* VisualViewport::GetChromeClient() const {
|
| return &GetPage().GetChromeClient();
|
| }
|
|
|
| @@ -675,8 +675,8 @@ LocalFrame* VisualViewport::MainFrame() const {
|
| }
|
|
|
| bool VisualViewport::ScheduleAnimation() {
|
| - if (HostWindow* window = GetHostWindow()) {
|
| - window->ScheduleAnimation(MainFrame());
|
| + if (PlatformChromeClient* client = GetChromeClient()) {
|
| + client->ScheduleAnimation(MainFrame());
|
| return true;
|
| }
|
| return false;
|
|
|