| Index: third_party/WebKit/public/platform/WebVector.h
|
| diff --git a/third_party/WebKit/public/platform/WebVector.h b/third_party/WebKit/public/platform/WebVector.h
|
| index 27a372417bc19988ab40edee4da2ceb409fb0bf8..f190202d44b1728a06d57315088b1a661fdfe02b 100644
|
| --- a/third_party/WebKit/public/platform/WebVector.h
|
| +++ b/third_party/WebKit/public/platform/WebVector.h
|
| @@ -93,6 +93,11 @@ public:
|
| {
|
| }
|
|
|
| + WebVector(WebVector<T>&& other)
|
| + {
|
| + swap(other);
|
| + }
|
| +
|
| WebVector& operator=(const WebVector& other)
|
| {
|
| if (this != &other)
|
| @@ -100,6 +105,13 @@ public:
|
| return *this;
|
| }
|
|
|
| + WebVector& operator=(WebVector&& other)
|
| + {
|
| + if (this != &other)
|
| + swap(other);
|
| + return *this;
|
| + }
|
| +
|
| template <typename C>
|
| WebVector<T>& operator=(const C& other)
|
| {
|
|
|