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 1a84b2d5a8b0059f7a2addd3513d932459a2d982..e6adc8173e6fdd331854a1a2e235b4656c71b7f5 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
@@ -1797,7 +1797,9 @@ StyleDifference LayoutObject::adjustStyleDifference(StyleDifference diff) const |
// skipped or we will miss invalidating decorations (e.g., underlines). |
|| (isText() && !isBR() && toLayoutText(this)->hasTextBoxes()) |
// Caret is painted in text color. |
- || (isLayoutBlock() && toLayoutBlock(this)->hasCaret())) |
+ || (isLayoutBlock() && toLayoutBlock(this)->hasCaret()) |
+ || (isSVG() && style()->svgStyle().isFillColorCurrentColor()) |
+ || (isSVG() && style()->svgStyle().isStrokeColorCurrentColor())) |
diff.setNeedsPaintInvalidationObject(); |
} |