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

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

Issue 18098007: Get rid of SVGPoint special case from the bindings generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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/SVGPointList.h ('k') | Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGSVGElement.h
diff --git a/Source/core/svg/SVGSVGElement.h b/Source/core/svg/SVGSVGElement.h
index 45cc287b0a7f1ec703b1fa44ebc47be70852b48a..eaea845d55d6d6b9bf08232c7fdd3458222b2e15 100644
--- a/Source/core/svg/SVGSVGElement.h
+++ b/Source/core/svg/SVGSVGElement.h
@@ -83,7 +83,7 @@ public:
float currentScale() const;
void setCurrentScale(float scale);
- FloatPoint& currentTranslate() { return m_translation; }
+ SVGPoint& currentTranslate() { return m_translation; }
void setCurrentTranslate(const FloatPoint&);
// Only used from the bindings.
@@ -112,7 +112,7 @@ public:
static float createSVGNumber();
static SVGLength createSVGLength();
static SVGAngle createSVGAngle();
- static FloatPoint createSVGPoint();
+ static SVGPoint createSVGPoint();
static SVGMatrix createSVGMatrix();
static FloatRect createSVGRect();
static SVGTransform createSVGTransform();
@@ -174,7 +174,7 @@ private:
bool m_useCurrentView;
SVGZoomAndPanType m_zoomAndPan;
RefPtr<SMILTimeContainer> m_timeContainer;
- FloatPoint m_translation;
+ SVGPoint m_translation;
RefPtr<SVGViewSpec> m_viewSpec;
};
« no previous file with comments | « Source/core/svg/SVGPointList.h ('k') | Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698