summaryrefslogtreecommitdiff
path: root/Source/WebCore/svg/SVGPathByteStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/svg/SVGPathByteStream.h')
-rw-r--r--Source/WebCore/svg/SVGPathByteStream.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/WebCore/svg/SVGPathByteStream.h b/Source/WebCore/svg/SVGPathByteStream.h
index 15ad96121..523faec9f 100644
--- a/Source/WebCore/svg/SVGPathByteStream.h
+++ b/Source/WebCore/svg/SVGPathByteStream.h
@@ -62,6 +62,11 @@ public:
DataIterator begin() { return m_data.begin(); }
DataIterator end() { return m_data.end(); }
void append(unsigned char byte) { m_data.append(byte); }
+ void append(SVGPathByteStream* other)
+ {
+ for (DataIterator it = other->begin(); it != other->end(); ++it)
+ append(*it);
+ }
void clear() { m_data.clear(); }
bool isEmpty() const { return !m_data.size(); }
unsigned size() const { return m_data.size(); }