Chromium Code Reviews

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

Issue 2413753004: Move getTotalLength and getPointAtLength methods from SVGPathElement to SVGGeometryElement. (Closed)
Patch Set: Align with review comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/svg/SVGGeometryElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGGeometryElement.h b/third_party/WebKit/Source/core/svg/SVGGeometryElement.h
index 89b15ba32e26fa66df6b077f9e1078d25c601811..9c98508d7e33b4553e7237eb7a685b1f47799114 100644
--- a/third_party/WebKit/Source/core/svg/SVGGeometryElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGGeometryElement.h
@@ -48,6 +48,8 @@ class SVGGeometryElement : public SVGGraphicsElement {
void toClipPath(Path&) const;
LayoutObject* createLayoutObject(const ComputedStyle&) override;
+ virtual float getTotalLength();
+ virtual SVGPointTearOff* getPointAtLength(float distance);
protected:
SVGGeometryElement(const QualifiedName&,

Powered by Google App Engine