Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
index 57050627de17fafbb5179957e1627db37958916b..2572a01660ce351788e1b74858d0da5f8774473e 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
@@ -1543,7 +1543,8 @@ StyleDifference LayoutObject::AdjustStyleDifference( |
// needed if we have style or text affected by these properties. |
if (diff.TextDecorationOrColorChanged() && |
!diff.NeedsFullPaintInvalidation()) { |
- if (Style()->HasBorder() || Style()->HasOutline() || |
+ if (Style()->HasBorderColorReferencingCurrentColor() || |
+ Style()->HasOutlineWithCurrentColor() || |
Style()->HasBackgroundRelatedColorReferencingCurrentColor() || |
// Skip any text nodes that do not contain text boxes. Whitespace cannot |
// be skipped or we will miss invalidating decorations (e.g., |