| 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 781f6d51952be7a6f505f6f6b288958cc84fc063..37ae4f60958337305cf04198acaeff17ea53bfe7 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGPath.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGPath.h
|
| @@ -47,13 +47,16 @@ public:
|
| {
|
| return adoptRefWillBeNoop(new SVGPath());
|
| }
|
| + static PassRefPtrWillBeRawPtr<SVGPath> create(PassOwnPtr<SVGPathByteStream> pathByteStream)
|
| + {
|
| + return adoptRefWillBeNoop(new SVGPath(pathByteStream));
|
| + }
|
|
|
| ~SVGPath() override;
|
|
|
| const Path& path() const;
|
|
|
| const SVGPathByteStream& byteStream() const;
|
| - SVGPathByteStream& mutableByteStream();
|
|
|
| // SVGPropertyBase:
|
| PassRefPtrWillBeRawPtr<SVGPath> clone() const;
|
| @@ -72,7 +75,8 @@ private:
|
| explicit SVGPath(PassOwnPtr<SVGPathByteStream>);
|
|
|
| SVGPathByteStream& ensureByteStream();
|
| - void byteStreamWillChange();
|
| + void byteStreamChanged();
|
| + void setValueAsByteStream(PassOwnPtr<SVGPathByteStream>);
|
|
|
| OwnPtr<SVGPathByteStream> m_byteStream;
|
| mutable OwnPtr<Path> m_cachedPath;
|
|
|