Index: third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.cpp b/third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.cpp |
index 2d84d66b6cd6c8f6eb0fb578703bfd6883a0eb4b..629909b1fd7bd3675b7a264cedbca4737846389e 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.cpp |
@@ -21,20 +21,6 @@ |
namespace blink { |
-bool SVGPathByteStreamSource::hasMoreData() const |
-{ |
- return m_streamCurrent < m_streamEnd; |
-} |
- |
-SVGPathSegType SVGPathByteStreamSource::peekSegmentType() |
-{ |
- ASSERT(hasMoreData()); |
- ASSERT(m_streamCurrent + sizeof(unsigned short) <= m_streamEnd); |
- unsigned short commandBytes; |
- memcpy(&commandBytes, m_streamCurrent, sizeof(commandBytes)); |
- return static_cast<SVGPathSegType>(commandBytes); |
-} |
- |
PathSegmentData SVGPathByteStreamSource::parseSegment() |
{ |
ASSERT(hasMoreData()); |