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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.cpp

Issue 2082553002: Reland of Check DisplayItemCient aliveness in cached subsequences (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/paint/PaintLayer.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
index 63490d93975d90e25af178863d1094bd29dfb420..02920656822221ef7998e290161f85cbf559871f 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -2888,8 +2888,10 @@
break;
container = owner->enclosingLayer();
}
+
if (container->m_needsRepaint)
break;
+
container->setNeedsRepaintInternal();
layer = container;
}
@@ -2909,6 +2911,15 @@
return nullptr;
}
+void PaintLayer::endShouldKeepAliveAllClientsRecursive()
+{
+ for (PaintLayer* child = firstChild(); child; child = child->nextSibling())
+ child->endShouldKeepAliveAllClientsRecursive();
+#if CHECK_DISPLAY_ITEM_CLIENT_ALIVENESS
+ DisplayItemClient::endShouldKeepAliveAllClients(this);
+#endif
+}
+
DisableCompositingQueryAsserts::DisableCompositingQueryAsserts()
: m_disabler(gCompositingQueryMode, CompositingQueriesAreAllowed) { }

Powered by Google App Engine
This is Rietveld 408576698