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

Unified Diff: Source/core/svg/SVGPathSegWithContext.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/SVGPathSegMovetoRel.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegWithContext.h
diff --git a/Source/core/svg/SVGPathSegWithContext.h b/Source/core/svg/SVGPathSegWithContext.h
index 1c6303d7eda21ac0381f60663f92859f1f860758..022fd526c52d44848df13d674122e63cbf3c8e65 100644
--- a/Source/core/svg/SVGPathSegWithContext.h
+++ b/Source/core/svg/SVGPathSegWithContext.h
@@ -27,8 +27,7 @@ namespace blink {
// FIXME: This should be deprecated.
class SVGPathSegWithContext : public SVGPathSeg {
public:
- // FIXME: remove second unused argument from all derived classes.
- SVGPathSegWithContext(SVGPathElement* contextElement, SVGPathSegRole)
+ SVGPathSegWithContext(SVGPathElement* contextElement)
: SVGPathSeg(contextElement)
{
}
@@ -51,8 +50,8 @@ public:
}
protected:
- SVGPathSegSingleCoordinate(SVGPathElement* element, SVGPathSegRole role, float x, float y)
- : SVGPathSegWithContext(element, role)
+ SVGPathSegSingleCoordinate(SVGPathElement* element, float x, float y)
+ : SVGPathSegWithContext(element)
, m_x(x)
, m_y(y)
{
« no previous file with comments | « Source/core/svg/SVGPathSegMovetoRel.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698