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

Unified Diff: Source/core/layout/style/SVGLayoutStyleDefs.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/SVGLayoutStyleDefs.h
diff --git a/Source/core/layout/style/SVGLayoutStyleDefs.h b/Source/core/layout/style/SVGLayoutStyleDefs.h
index 0608e20ff5ea8ea19e03ba5166d64288ad8607b7..752ff2106d11951853e1211a3f4e5589a30fec51 100644
--- a/Source/core/layout/style/SVGLayoutStyleDefs.h
+++ b/Source/core/layout/style/SVGLayoutStyleDefs.h
@@ -49,7 +49,7 @@ enum SVGPaintType {
};
enum EBaselineShift {
- BS_BASELINE, BS_SUB, BS_SUPER, BS_LENGTH
+ BS_LENGTH, BS_SUB, BS_SUPER
};
enum ETextAnchor {
@@ -211,7 +211,7 @@ public:
float floodOpacity;
Color lightingColor;
- RefPtrWillBePersistent<SVGLength> baselineShiftValue;
+ Length baselineShiftValue;
private:
StyleMiscData();

Powered by Google App Engine
This is Rietveld 408576698