Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp |
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp b/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp |
| index ecbe52c497b5027e7ccfbd818c25c4b6a7bee25b..d4ca0813cace9445ae0119c57c744043d83cee04 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp |
| +++ b/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp |
| @@ -184,6 +184,7 @@ void LayoutObjectChildList::insertChildNode(LayoutObject* owner, |
| LayoutInvalidationReason::AddedToLayout); |
| newChild->setShouldDoFullPaintInvalidation( |
| PaintInvalidationLayoutObjectInsertion); |
| + newChild->setSubtreeNeedsPaintPropertyUpdate(); |
|
pdr.
2016/12/16 02:17:28
WDYT of making this more explicit by using a flag
Xianzhu
2016/12/16 17:24:57
I would still prefer subtree update flag because
-
|
| if (!owner->normalChildNeedsLayout()) |
| owner->setChildNeedsLayout(); // We may supply the static position for an |
| // absolute positioned child. |