Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/svg/SVGPathByteStream.h

Issue 1439793003: SVG: Promote d to a property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DECLARE_VIRTUAL_TRACE Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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..70430c8eddf8438cb2861ad34dcc867581675180 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathByteStream.h
+++ b/third_party/WebKit/Source/core/svg/SVGPathByteStream.h
@@ -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)

Powered by Google App Engine