| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index bce3d37477b6c8f47f744221ab38bcd9f7aaf048..ad945792fea1d48989559e3a8859da3d84bce861 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -1717,7 +1717,8 @@ void WebViewImpl::setTopControlsHeight(float height, bool topControlsShrinkLayou
|
| void WebViewImpl::updateTopControlsState(WebTopControlsState constraint, WebTopControlsState current, bool animate)
|
| {
|
| topControls().updateConstraints(constraint);
|
| - m_layerTreeView->updateTopControlsState(constraint, current, animate);
|
| + if (m_layerTreeView)
|
| + m_layerTreeView->updateTopControlsState(constraint, current, animate);
|
| }
|
|
|
| void WebViewImpl::didUpdateTopControls()
|
|
|