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