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

Unified Diff: Source/core/layout/style/LayoutStyle.h

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/LayoutStyle.h
diff --git a/Source/core/layout/style/LayoutStyle.h b/Source/core/layout/style/LayoutStyle.h
index 07982610513800f3c72c0f6cea722cf401aae371..2da4708a53cafaf5328199275bf590039eba4df1 100644
--- a/Source/core/layout/style/LayoutStyle.h
+++ b/Source/core/layout/style/LayoutStyle.h
@@ -1386,8 +1386,8 @@ public:
void setFloodColor(const Color& c) { accessSVGStyle().setFloodColor(c); }
void setLightingColor(const Color& c) { accessSVGStyle().setLightingColor(c); }
- SVGLength* baselineShiftValue() const { return svgStyle().baselineShiftValue(); }
- void setBaselineShiftValue(PassRefPtrWillBeRawPtr<SVGLength> s) { accessSVGStyle().setBaselineShiftValue(s); }
+ const Length& baselineShiftValue() const { return svgStyle().baselineShiftValue(); }
+ void setBaselineShiftValue(const Length& s) { accessSVGStyle().setBaselineShiftValue(s); }
void setShapeOutside(PassRefPtr<ShapeValue> value)
{

Powered by Google App Engine
This is Rietveld 408576698