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

Unified Diff: third_party/WebKit/Source/core/svg/SVGLength.h

Issue 2113943003: SVGLength.value setter should set the value to <number> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Align with review comments Created 4 years, 6 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: third_party/WebKit/Source/core/svg/SVGLength.h
diff --git a/third_party/WebKit/Source/core/svg/SVGLength.h b/third_party/WebKit/Source/core/svg/SVGLength.h
index 91ce36d105c12ae1e5ef30c0cc8400a4381c7e0e..077aa33a5dcce106d06d42fe560704f0b3b006f0 100644
--- a/third_party/WebKit/Source/core/svg/SVGLength.h
+++ b/third_party/WebKit/Source/core/svg/SVGLength.h
@@ -56,6 +56,7 @@ public:
float value(const SVGLengthContext&) const;
void setValue(float, const SVGLengthContext&);
+ void setValueAsNumber(float);
float valueInSpecifiedUnits() const { return m_value->getFloatValue(); }
void setValueInSpecifiedUnits(float value)
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/dom/SVGLength-value-setter.html ('k') | third_party/WebKit/Source/core/svg/SVGLength.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698