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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 2831203002: Fix LayoutObject::SetSubtreeNeedsPaintPropertyUpdate() to set ancestor flags (Closed)
Patch Set: Created 3 years, 8 months 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/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index 7c67bccfcfddb5897510a8405fe2363e75676dea..683424a848048440e1f52be02f05b514a753378a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -1853,7 +1853,7 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
}
void SetSubtreeNeedsPaintPropertyUpdate() {
bitfields_.SetSubtreeNeedsPaintPropertyUpdate(true);
- bitfields_.SetNeedsPaintPropertyUpdate(true);
+ SetNeedsPaintPropertyUpdate();
}
bool SubtreeNeedsPaintPropertyUpdate() const {
return bitfields_.SubtreeNeedsPaintPropertyUpdate();

Powered by Google App Engine
This is Rietveld 408576698