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

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

Issue 956553004: Use Length for baselineShiftValue in SVGLayoutStyle (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: A few more TEs. Created 5 years, 10 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
Index: Source/core/layout/style/SVGLayoutStyle.cpp
diff --git a/Source/core/layout/style/SVGLayoutStyle.cpp b/Source/core/layout/style/SVGLayoutStyle.cpp
index bd7768ab3a363f15bffc619c519766cf4aaf4e88..5dbe3d98a811f2add404cb404d737c4ab7ad1266 100644
--- a/Source/core/layout/style/SVGLayoutStyle.cpp
+++ b/Source/core/layout/style/SVGLayoutStyle.cpp
@@ -155,7 +155,7 @@ bool SVGLayoutStyle::diffNeedsLayoutAndPaintInvalidation(const SVGLayoutStyle* o
return true;
// Text related properties influence layout.
- if (*misc->baselineShiftValue != *other->misc->baselineShiftValue)
+ if (misc->baselineShiftValue != other->misc->baselineShiftValue)
return true;
// These properties affect the cached stroke bounding box rects.

Powered by Google App Engine
This is Rietveld 408576698