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

Unified Diff: Source/core/layout/style/SVGLayoutStyle.cpp

Issue 983103003: Use Length for the stroke-width property in SVGLayoutStyle (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: lengthSetterForProperty Created 5 years, 9 months 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
« no previous file with comments | « Source/core/layout/style/SVGLayoutStyle.h ('k') | Source/core/layout/style/SVGLayoutStyleDefs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/style/SVGLayoutStyle.cpp
diff --git a/Source/core/layout/style/SVGLayoutStyle.cpp b/Source/core/layout/style/SVGLayoutStyle.cpp
index 55957ff9cd4c6cb754709a64c0715080b48a343a..5d7759dc0ff41424ac8df3618d0d801c747e4850 100644
--- a/Source/core/layout/style/SVGLayoutStyle.cpp
+++ b/Source/core/layout/style/SVGLayoutStyle.cpp
@@ -175,7 +175,7 @@ bool SVGLayoutStyle::diffNeedsLayoutAndPaintInvalidation(const SVGLayoutStyle* o
// Some stroke properties, requires relayouts, as the cached stroke boundaries need to be recalculated.
if (stroke.get() != other->stroke.get()) {
- if (*stroke->width != *other->stroke->width
+ if (stroke->width != other->stroke->width
|| stroke->paintType != other->stroke->paintType
|| stroke->paintColor != other->stroke->paintColor
|| stroke->paintUri != other->stroke->paintUri
« no previous file with comments | « Source/core/layout/style/SVGLayoutStyle.h ('k') | Source/core/layout/style/SVGLayoutStyleDefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698