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

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

Issue 980233002: [svg2] Make 'cx', 'cy' and 'r' presentation attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase 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
Index: Source/core/layout/style/LayoutStyle.h
diff --git a/Source/core/layout/style/LayoutStyle.h b/Source/core/layout/style/LayoutStyle.h
index 45b533320a912b9740d4c415a010521e89686904..59fdc6c7ac8d2992880c04b6d294f3a9097fa034 100644
--- a/Source/core/layout/style/LayoutStyle.h
+++ b/Source/core/layout/style/LayoutStyle.h
@@ -1376,8 +1376,11 @@ public:
float strokeMiterLimit() const { return svgStyle().strokeMiterLimit(); }
void setStrokeMiterLimit(float f) { accessSVGStyle().setStrokeMiterLimit(f); }
+ void setCx(Length cx) { accessSVGStyle().setCx(cx); }
+ void setCy(Length cy) { accessSVGStyle().setCy(cy); }
void setX(Length x) { accessSVGStyle().setX(x); }
void setY(Length y) { accessSVGStyle().setY(y); }
+ void setR(Length r) { accessSVGStyle().setR(r); }
void setRx(Length rx) { accessSVGStyle().setRx(rx); }
void setRy(Length ry) { accessSVGStyle().setRy(ry); }

Powered by Google App Engine
This is Rietveld 408576698