Index: third_party/WebKit/Source/core/style/SVGComputedStyle.cpp |
diff --git a/third_party/WebKit/Source/core/style/SVGComputedStyle.cpp b/third_party/WebKit/Source/core/style/SVGComputedStyle.cpp |
index 85e19fd3c1752e4d57010fdf4c6c08a5b51d1fd8..c79bdacbcc15764b0cd07038b65ce70b219eda65 100644 |
--- a/third_party/WebKit/Source/core/style/SVGComputedStyle.cpp |
+++ b/third_party/WebKit/Source/core/style/SVGComputedStyle.cpp |
@@ -29,6 +29,8 @@ |
#include "core/style/SVGComputedStyle.h" |
+#include "core/style/DataEquivalency.h" |
+ |
namespace blink { |
static const int kPaintOrderBitwidth = 2; |
@@ -187,7 +189,7 @@ bool SVGComputedStyle::diffNeedsLayoutAndPaintInvalidation(const SVGComputedStyl |
return true; |
} |
- // The x, y, rx and ry properties require a re-layout. |
+ // The StyleLayoutData properties require a re-layout. |
if (layout.get() != other->layout.get()) { |
if (layout->x != other->layout->x |
|| layout->y != other->layout->y |
@@ -195,7 +197,8 @@ bool SVGComputedStyle::diffNeedsLayoutAndPaintInvalidation(const SVGComputedStyl |
|| layout->rx != other->layout->rx |
|| layout->ry != other->layout->ry |
|| layout->cx != other->layout->cx |
- || layout->cy != other->layout->cy) |
+ || layout->cy != other->layout->cy |
+ || !dataEquivalent(layout->d, other->layout->d)) |
return true; |
} |