Index: third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.h |
diff --git a/third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.h b/third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.h |
index cf61d5334eec5973a39456176808cf86be723f39..10fe616ac8cbf9ae8f7a87a9e38591e59904981c 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.h |
+++ b/third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.h |
@@ -21,12 +21,14 @@ |
#define SVGPathByteStreamSource_h |
#include "core/svg/SVGPathByteStream.h" |
-#include "core/svg/SVGPathSource.h" |
+#include "core/svg/SVGPathData.h" |
#include "platform/geometry/FloatPoint.h" |
namespace blink { |
-class SVGPathByteStreamSource final : public SVGPathSource { |
+class SVGPathByteStreamSource { |
+ WTF_MAKE_NONCOPYABLE(SVGPathByteStreamSource); |
+ STACK_ALLOCATED(); |
public: |
explicit SVGPathByteStreamSource(const SVGPathByteStream& stream) |
: m_streamCurrent(stream.begin()) |
@@ -34,9 +36,8 @@ public: |
{ |
} |
- bool hasMoreData() const override; |
- SVGPathSegType peekSegmentType() override; |
- PathSegmentData parseSegment() override; |
+ bool hasMoreData() const { return m_streamCurrent < m_streamEnd; } |
+ PathSegmentData parseSegment(); |
private: |
#if COMPILER(MSVC) |