Chromium Code Reviews| 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; |