| Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| index 8f606340fb102fe5fba67b19f2f46608a8e549a8..204b32b6d9ac004b94047125d7b47b3fbf9312ab 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| @@ -1336,7 +1336,7 @@ void PaintLayer::insertOnlyThisLayerAfterStyleChange()
|
| }
|
| }
|
|
|
| - if (!didSetPaintInvalidation && isSelfPaintingLayer()) {
|
| + if (!didSetPaintInvalidation && isSelfPaintingLayer() && m_parent) {
|
| if (PaintLayer* enclosingSelfPaintingLayer = m_parent->enclosingSelfPaintingLayer())
|
| mergeNeedsPaintPhaseFlagsFrom(*enclosingSelfPaintingLayer);
|
| }
|
|
|