| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 83a3349f09e1dd989f3acd08a834a5fffb1524c4..69556273365d98db98f33b4329d0401f2c7cee01 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -1712,7 +1712,11 @@ void WebViewImpl::setTopControlsLayoutHeight(float height)
|
|
|
| void WebViewImpl::didUpdateTopControls()
|
| {
|
| - FrameView* view = localFrameRootTemporary()->frameView();
|
| + WebLocalFrameImpl* localFrameRoot = localFrameRootTemporary();
|
| + if (!localFrameRoot)
|
| + return;
|
| +
|
| + FrameView* view = localFrameRoot->frameView();
|
| if (!view)
|
| return;
|
|
|
| @@ -1728,7 +1732,11 @@ void WebViewImpl::resize(const WebSize& newSize)
|
| if (m_shouldAutoResize || m_size == newSize)
|
| return;
|
|
|
| - FrameView* view = localFrameRootTemporary()->frameView();
|
| + WebLocalFrameImpl* localFrameRoot = localFrameRootTemporary();
|
| + if (!localFrameRoot)
|
| + return;
|
| +
|
| + FrameView* view = localFrameRoot->frameView();
|
| if (!view)
|
| return;
|
|
|
|
|