| Index: Source/core/page/FrameView.cpp
|
| diff --git a/Source/core/page/FrameView.cpp b/Source/core/page/FrameView.cpp
|
| index f06687a53d2966c8c9ec7375345e177ad0e0c103..754677d1ef77c0808d1896ea1dfa928fab64da34 100644
|
| --- a/Source/core/page/FrameView.cpp
|
| +++ b/Source/core/page/FrameView.cpp
|
| @@ -414,8 +414,8 @@ bool FrameView::didFirstLayout() const
|
| void FrameView::invalidateRect(const IntRect& rect)
|
| {
|
| if (!parent()) {
|
| - if (hostWindow())
|
| - hostWindow()->invalidateContentsAndRootView(rect);
|
| + if (HostWindow* window = hostWindow())
|
| + window->invalidateContentsAndRootView(rect);
|
| return;
|
| }
|
|
|
|
|