| Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| index 504259b74d5d9eafac10c6fcd1c2229d6e78cba2..14e06643001976985b4facba3679160a7a243d33 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| @@ -479,8 +479,8 @@
|
| diff.setNeedsPositionedMovementLayout();
|
| }
|
|
|
| - if (diffNeedsPaintInvalidationSubtree(other))
|
| - diff.setNeedsPaintInvalidationSubtree();
|
| + if (diffNeedsPaintInvalidationLayer(other))
|
| + diff.setNeedsPaintInvalidationLayer();
|
| else if (diffNeedsPaintInvalidationObject(other))
|
| diff.setNeedsPaintInvalidationObject();
|
|
|
| @@ -703,7 +703,7 @@
|
| return false;
|
| }
|
|
|
| -bool ComputedStyle::diffNeedsPaintInvalidationSubtree(const ComputedStyle& other) const
|
| +bool ComputedStyle::diffNeedsPaintInvalidationLayer(const ComputedStyle& other) const
|
| {
|
| if (position() != StaticPosition && (visual->clip != other.visual->clip || visual->hasAutoClip != other.visual->hasAutoClip))
|
| return true;
|
|
|