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

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

Issue 1161863004: Change Layout::adjustCompositedContainerForSpecialAncestors into an overloaded version of container… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/layout/LayoutObject.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutObject.cpp
diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp
index da3f4f0bef5a2227494fd688dd5881ee0f33e968..dc0427881624d29ed19d4b278476d3e176ee2d33 100644
--- a/Source/core/layout/LayoutObject.cpp
+++ b/Source/core/layout/LayoutObject.cpp
@@ -1048,7 +1048,7 @@ void LayoutObject::paint(const PaintInfo&, const LayoutPoint&)
const LayoutBoxModelObject* LayoutObject::containerForPaintInvalidation() const
{
RELEASE_ASSERT(isRooted());
- return adjustCompositedContainerForSpecialAncestors(enclosingCompositedContainer());
+ return containerForPaintInvalidation(enclosingCompositedContainer());
}
const LayoutBoxModelObject* LayoutObject::enclosingCompositedContainer() const
@@ -1062,7 +1062,7 @@ const LayoutBoxModelObject* LayoutObject::enclosingCompositedContainer() const
return container;
}
-const LayoutBoxModelObject* LayoutObject::adjustCompositedContainerForSpecialAncestors(const LayoutBoxModelObject* paintInvalidationContainer) const
+const LayoutBoxModelObject* LayoutObject::containerForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer) const
leviw_travelin_and_unemployed 2015/06/02 17:49:51 I like the simplification ideal behind this patch,
{
if (paintInvalidationContainer)
return paintInvalidationContainer;
« no previous file with comments | « Source/core/layout/LayoutObject.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698