| Index: third_party/WebKit/Source/core/frame/FrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| index 96039293c40bbf1a261f599596db5e45cd4d7c1b..dff0acd39e72a64c464e86b99790eaac832f6b8f 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -2748,7 +2748,11 @@ void FrameView::ScrollbarStyleChanged() {
|
| }
|
|
|
| bool FrameView::ScheduleAnimation() {
|
| - return frame_->ScheduleAnimation(GetHostWindow());
|
| + if (HostWindow* window = GetHostWindow()) {
|
| + window->ScheduleAnimation(frame_);
|
| + return true;
|
| + }
|
| + return false;
|
| }
|
|
|
| void FrameView::NotifyPageThatContentAreaWillPaint() const {
|
|
|