| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index e83ac35b2caf958aad3234cdc702f2e3b7e17e5f..03f015e51e85bb48c8ef4fdfbfcb29b24a66fd50 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -1406,6 +1406,12 @@ inline void LayoutObject::invalidateSelectionIfNeeded(const LayoutBoxModelObject
|
|
|
| PaintInvalidationReason LayoutObject::invalidatePaintIfNeeded(PaintInvalidationState& paintInvalidationState, const LayoutBoxModelObject& paintInvalidationContainer)
|
| {
|
| + if (styleRef().hasOutline()) {
|
| + PaintLayer& layer = paintInvalidationState.enclosingSelfPaintingLayer(*this);
|
| + if (layer.layoutObject() != this)
|
| + layer.setNeedsPaintPhaseDescendantOutlines();
|
| + }
|
| +
|
| LayoutView* v = view();
|
| if (v->document().printing())
|
| return PaintInvalidationNone; // Don't invalidate paints if we're printing.
|
|
|