| Index: Source/core/frame/PinchViewport.cpp
|
| diff --git a/Source/core/frame/PinchViewport.cpp b/Source/core/frame/PinchViewport.cpp
|
| index 1aeaab3c500d2bb7e6fdef208c272f005fe75a2b..c2fcc99f085e349410ce26a931f46db8ea1d4a76 100644
|
| --- a/Source/core/frame/PinchViewport.cpp
|
| +++ b/Source/core/frame/PinchViewport.cpp
|
| @@ -328,7 +328,8 @@ void PinchViewport::attachToLayerTree(GraphicsLayer* currentLayerTreeRoot, Graph
|
| {
|
| TRACE_EVENT1("blink", "PinchViewport::attachToLayerTree", "currentLayerTreeRoot", (bool)currentLayerTreeRoot);
|
| if (!currentLayerTreeRoot) {
|
| - m_innerViewportScrollLayer->removeAllChildren();
|
| + if (m_innerViewportScrollLayer)
|
| + m_innerViewportScrollLayer->removeAllChildren();
|
| return;
|
| }
|
|
|
|
|