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

Unified Diff: Source/core/svg/SVGPathSegList.cpp

Issue 195313003: [SVG2] Add getters and setters to SVG*List interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: s/slength/size Created 6 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/svg/SVGPathSegList.h ('k') | Source/core/svg/SVGPathSegList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegList.cpp
diff --git a/Source/core/svg/SVGPathSegList.cpp b/Source/core/svg/SVGPathSegList.cpp
index 7f604ecc45f989abf2b8672b2808e6f251f4e8fb..defed36c115ead5648bad96f2cc6f355e33e16ba 100644
--- a/Source/core/svg/SVGPathSegList.cpp
+++ b/Source/core/svg/SVGPathSegList.cpp
@@ -162,7 +162,7 @@ void SVGPathSegList::setValueAsString(const String& string, ExceptionState& exce
void SVGPathSegList::add(PassRefPtr<NewSVGPropertyBase> other, SVGElement*)
{
RefPtr<SVGPathSegList> otherList = toSVGPathSegList(other);
- if (numberOfItems() != otherList->numberOfItems())
+ if (length() != otherList->length())
return;
byteStream(); // create |m_byteStream| if not exist.
« no previous file with comments | « Source/core/svg/SVGPathSegList.h ('k') | Source/core/svg/SVGPathSegList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698