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

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

Issue 1680183002: Move pathLength scale-factor computation to SVGPathElement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
Index: third_party/WebKit/Source/core/svg/SVGPathElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGPathElement.h b/third_party/WebKit/Source/core/svg/SVGPathElement.h
index 54c64d7c0e2a9ae33f47bc89857eed558bc5502f..b8842643979cf3758615b91780eb0db5f9dd7f01 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGPathElement.h
@@ -29,6 +29,8 @@
namespace blink {
+class StylePath;
+
class SVGPathElement final : public SVGGeometryElement {
DEFINE_WRAPPERTYPEINFO();
public:
@@ -42,6 +44,7 @@ public:
SVGAnimatedPath* path() const { return m_path.get(); }
SVGAnimatedNumber* pathLength() const { return m_pathLength.get(); }
+ float pathLengthScaleFactor() const;
const SVGPathByteStream& pathByteStream() const;
@@ -53,6 +56,8 @@ public:
private:
explicit SVGPathElement(Document&);
+ const StylePath* stylePath() const;
+
void svgAttributeChanged(const QualifiedName&) override;
void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStylePropertySet*) override;
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp ('k') | third_party/WebKit/Source/core/svg/SVGPathElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698