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

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

Issue 1527613006: Use Vector<...>::append(const U*, size_t) in SVGPathByteStream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGPathByteStreamBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..17d3b4865c3cb2a32b7053c2328dc82e6e8756fc 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathByteStream.h
+++ b/third_party/WebKit/Source/core/svg/SVGPathByteStream.h
@@ -50,8 +50,7 @@ public:
DataIterator begin() const { return m_data.begin(); }
DataIterator end() const { return m_data.end(); }
- void append(unsigned char byte) { m_data.append(byte); }
- void append(SVGPathByteStream* other) { m_data.appendVector(other->m_data); }
+ void append(const unsigned char* data, size_t dataSize) { m_data.append(data, dataSize); }
void clear() { m_data.clear(); }
void reserveInitialCapacity(size_t size) { m_data.reserveInitialCapacity(size); }
void shrinkToFit() { m_data.shrinkToFit(); }
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGPathByteStreamBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698