Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

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: RefPtrWillBePersistent Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698