Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(616)

Unified Diff: third_party/WebKit/Source/core/style/SVGComputedStyle.cpp

Issue 1439793003: SVG: Promote d to a property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DECLARE_VIRTUAL_TRACE Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..fa79bd00a054e930b303156ed8f60e4cdf66ffde 100644
--- a/third_party/WebKit/Source/core/style/SVGComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/SVGComputedStyle.cpp
@@ -187,7 +187,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 +195,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
+ || !layout->d->equals(*other->layout->d))
return true;
}

Powered by Google App Engine
This is Rietveld 408576698