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

Unified Diff: Source/core/rendering/RenderLayer.cpp

Issue 414503002: Enable paint invalidation container ASSERT (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Dummy rebaseline for the picky trybots :( Created 6 years, 5 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
« no previous file with comments | « Source/core/rendering/RenderBox.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderLayer.cpp
diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp
index ea83bc9e465458e5b59d3e73b430a8b72a3eb3e3..aa16359e4bf5cb56ef3f2724b7d473f3cf0dd03c 100644
--- a/Source/core/rendering/RenderLayer.cpp
+++ b/Source/core/rendering/RenderLayer.cpp
@@ -1016,7 +1016,7 @@ RenderLayer* RenderLayer::enclosingLayerForPaintInvalidation() const
if (isPaintInvalidationContainer())
return const_cast<RenderLayer*>(this);
- for (const RenderLayer* curr = compositingContainer(); curr; curr = curr->compositingContainer()) {
+ for (const RenderLayer* curr = parent(); curr; curr = curr->parent()) {
if (curr->isPaintInvalidationContainer())
return const_cast<RenderLayer*>(curr);
}
« no previous file with comments | « Source/core/rendering/RenderBox.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698