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

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

Issue 2543913002: Generalize visible descendant dirty bits to prepare for more properties. (Closed)
Patch Set: none 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/LayoutObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
index 2049367d76af354817202b78d02a37dc94f97772..2ee974f4adf8a21f2e3e0d933d2ce72e65ef9e76 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
@@ -1753,7 +1753,7 @@ void LayoutObject::styleWillChange(StyleDifference diff,
// We might not have an enclosing layer yet because we might not be in the
// tree.
if (PaintLayer* layer = enclosingLayer())
- layer->potentiallyDirtyVisibleContentStatus(newStyle.visibility());
+ layer->dirtyVisibleContentStatus();
}
if (isFloating() && (m_style->floating() != newStyle.floating())) {

Powered by Google App Engine
This is Rietveld 408576698