summaryrefslogtreecommitdiffstats
path: root/webkit/api/public/WebVector.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/api/public/WebVector.h')
-rw-r--r--webkit/api/public/WebVector.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/api/public/WebVector.h b/webkit/api/public/WebVector.h
index ed6f01c..af811d6 100644
--- a/webkit/api/public/WebVector.h
+++ b/webkit/api/public/WebVector.h
@@ -73,6 +73,11 @@ namespace WebKit {
initialize(size);
}
+ WebVector(const WebVector<T>& other)
+ {
+ initializeFrom(other.m_ptr, other.m_size);
+ }
+
template <typename C>
WebVector(const C& other)
{