| Index: base/memory/scoped_vector.h
|
| diff --git a/base/memory/scoped_vector.h b/base/memory/scoped_vector.h
|
| index f41d781d8ce23a4beac2aff0b7d74bf788bbf6a5..feb0321e40c933140578bc5a061d70b0dc67f77f 100644
|
| --- a/base/memory/scoped_vector.h
|
| +++ b/base/memory/scoped_vector.h
|
| @@ -34,10 +34,10 @@ class ScopedVector {
|
|
|
| ScopedVector() {}
|
| ~ScopedVector() { clear(); }
|
| - ScopedVector(RValue& other) { swap(other); }
|
| + ScopedVector(RValue other) { swap(*other.object); }
|
|
|
| - ScopedVector& operator=(RValue& rhs) {
|
| - swap(rhs);
|
| + ScopedVector& operator=(RValue rhs) {
|
| + swap(*rhs.object);
|
| return *this;
|
| }
|
|
|
|
|