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 9b54b8cf5f9b6d67a572ec41be4774138e0626f1..2f3fd7d020e7cefb880d6f97514219beff643837 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
@@ -1796,7 +1796,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(); |
} |