Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(497)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp

Issue 2585603002: [SPInvaldation] Update subtree paint properties when a layout subtree is inserted (Closed)
Patch Set: Separate out printing change Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
if (!owner->normalChildNeedsLayout())
owner->setChildNeedsLayout(); // We may supply the static position for an
// absolute positioned child.

Powered by Google App Engine
This is Rietveld 408576698