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 9f80ca593c47a33958f8c9eb025376c01f79dac5..051b14c91645af9ed60c7c195f0e46edf9fb0b5d 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(); |
} |