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

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

Issue 2839463002: 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 dbb06ae244b000be5d0cef13709b774bce952e2a..bc21a7fccb17a1eb668a9c1d3d33994817bda28c 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();
« no previous file with comments | « third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698