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

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

Issue 991533003: Handle more <length> properties in animation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: stroke-dashoffset setter exists + fixups + add tests 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/css/resolver/AnimatedStyleBuilder.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/style/LayoutStyle.h
diff --git a/Source/core/layout/style/LayoutStyle.h b/Source/core/layout/style/LayoutStyle.h
index 0c2ef2cd51e7ca244f9f3b36105df4e25ef6a311..a54553bdcb3c772148118e4f5f93ba726781d7cd 100644
--- a/Source/core/layout/style/LayoutStyle.h
+++ b/Source/core/layout/style/LayoutStyle.h
@@ -1376,13 +1376,13 @@ 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); }
+ void setCx(const Length& cx) { accessSVGStyle().setCx(cx); }
+ void setCy(const Length& cy) { accessSVGStyle().setCy(cy); }
+ void setX(const Length& x) { accessSVGStyle().setX(x); }
+ void setY(const Length& y) { accessSVGStyle().setY(y); }
+ void setR(const Length& r) { accessSVGStyle().setR(r); }
+ void setRx(const Length& rx) { accessSVGStyle().setRx(rx); }
+ void setRy(const Length& ry) { accessSVGStyle().setRy(ry); }
float floodOpacity() const { return svgStyle().floodOpacity(); }
void setFloodOpacity(float f) { accessSVGStyle().setFloodOpacity(f); }
« no previous file with comments | « Source/core/css/resolver/AnimatedStyleBuilder.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698