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 ad198f684af4f2403f66bfea1c444ea193bfde7a..e92858c6b87ef2add07cd31912540874787b5017 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
@@ -580,8 +580,6 @@ StyleDifference ComputedStyle::visualInvalidationDiff( |
diff.setNeedsPaintInvalidationSubtree(); |
else if (diffNeedsPaintInvalidationObject(other)) |
diff.setNeedsPaintInvalidationObject(); |
- else if (diffNeedsPaintInvalidationSelection(other)) |
- diff.setNeedsPaintInvalidationSelection(); |
updatePropertySpecificDifferences(other, diff); |
@@ -1028,12 +1026,6 @@ bool ComputedStyle::diffNeedsPaintInvalidationObjectForPaintImage( |
return false; |
} |
-bool ComputedStyle::diffNeedsPaintInvalidationSelection( |
- const ComputedStyle& other) const { |
- return hasPseudoStyle(PseudoIdSelection) || |
- other.hasPseudoStyle(PseudoIdSelection); |
-} |
- |
void ComputedStyle::updatePropertySpecificDifferences( |
const ComputedStyle& other, |
StyleDifference& diff) const { |