Index: third_party/WebKit/Source/core/svg/SVGPathByteStream.h |
diff --git a/third_party/WebKit/Source/core/svg/SVGPathByteStream.h b/third_party/WebKit/Source/core/svg/SVGPathByteStream.h |
index 42b4dcee88e02ae0fad8446f3b9a3d7f04366e76..7094bfc6a520051194068a5fb4b265001e1b4888 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGPathByteStream.h |
+++ b/third_party/WebKit/Source/core/svg/SVGPathByteStream.h |
@@ -32,7 +32,7 @@ union ByteType { |
unsigned char bytes[sizeof(DataType)]; |
}; |
-class SVGPathByteStream { |
+class SVGPathByteStream final { |
fs
2015/12/11 13:01:58
Redundant final.
Eric Willigers
2015/12/14 05:36:46
Acknowledged.
|
USING_FAST_MALLOC(SVGPathByteStream); |
public: |
static PassOwnPtr<SVGPathByteStream> create() |
@@ -58,6 +58,8 @@ public: |
bool isEmpty() const { return m_data.isEmpty(); } |
unsigned size() const { return m_data.size(); } |
+ bool operator==(const SVGPathByteStream& other) const { return m_data == other.m_data; } |
+ |
private: |
SVGPathByteStream() { } |
SVGPathByteStream(const Data& data) |