| Index: third_party/WebKit/Source/core/svg/SVGPath.h
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGPath.h b/third_party/WebKit/Source/core/svg/SVGPath.h
|
| index 5ca84a9dd2a30795d03cd46e554e11abd02604b7..0f9ac5b84d65d19b3d37552eb8d56e7f654887ff 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGPath.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGPath.h
|
| @@ -36,6 +36,7 @@
|
| namespace blink {
|
|
|
| class ExceptionState;
|
| +class Path;
|
| class SVGPathByteStream;
|
|
|
| class SVGPath : public SVGPropertyBase {
|
| @@ -49,6 +50,8 @@ public:
|
|
|
| ~SVGPath() override;
|
|
|
| + const Path& path() const;
|
| +
|
| const SVGPathByteStream& byteStream() const;
|
| SVGPathByteStream& mutableByteStream();
|
|
|
| @@ -68,7 +71,11 @@ private:
|
| SVGPath();
|
| explicit SVGPath(PassOwnPtr<SVGPathByteStream>);
|
|
|
| + SVGPathByteStream& ensureByteStream();
|
| + void byteStreamWillChange();
|
| +
|
| OwnPtr<SVGPathByteStream> m_byteStream;
|
| + mutable OwnPtr<Path> m_cachedPath;
|
| };
|
|
|
| inline PassRefPtrWillBeRawPtr<SVGPath> toSVGPath(PassRefPtrWillBeRawPtr<SVGPropertyBase> passBase)
|
|
|