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

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

Issue 456763002: Get rid of SVGPathSegRole (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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/SVGPathSegLinetoVerticalRel.h ('k') | Source/core/svg/SVGPathSegList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegList.h
diff --git a/Source/core/svg/SVGPathSegList.h b/Source/core/svg/SVGPathSegList.h
index ab803095c43d616807b20ec699fbe788cc82ecf9..4ea80e9f80e9bde885ce248ed7fc28e7cf3de411 100644
--- a/Source/core/svg/SVGPathSegList.h
+++ b/Source/core/svg/SVGPathSegList.h
@@ -49,9 +49,9 @@ public:
typedef SVGPathSegListTearOff TearOffType;
typedef SVGListPropertyHelper<SVGPathSegList, SVGPathSeg> Base;
- static PassRefPtr<SVGPathSegList> create(SVGPathElement* contextElement, SVGPathSegRole role = PathSegUndefinedRole)
+ static PassRefPtr<SVGPathSegList> create(SVGPathElement* contextElement)
{
- return adoptRef(new SVGPathSegList(contextElement, role));
+ return adoptRef(new SVGPathSegList(contextElement));
}
static PassRefPtr<SVGPathSegList> create() { ASSERT_NOT_REACHED(); return nullptr; }
@@ -143,8 +143,8 @@ public:
static AnimatedPropertyType classType() { return AnimatedPath; }
private:
- SVGPathSegList(SVGPathElement*, SVGPathSegRole);
- SVGPathSegList(SVGPathElement*, SVGPathSegRole, PassOwnPtr<SVGPathByteStream>);
+ SVGPathSegList(SVGPathElement*);
+ SVGPathSegList(SVGPathElement*, PassOwnPtr<SVGPathByteStream>);
friend class SVGPathSegListBuilder;
// This is only to be called from SVGPathSegListBuilder.
@@ -163,7 +163,6 @@ private:
// so this ptr is always valid.
SVGPathElement* m_contextElement;
- SVGPathSegRole m_role;
mutable OwnPtr<SVGPathByteStream> m_byteStream;
bool m_listSyncedToByteStream;
};
« no previous file with comments | « Source/core/svg/SVGPathSegLinetoVerticalRel.h ('k') | Source/core/svg/SVGPathSegList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698