Index: sync/internal_api/public/util/proto_value_ptr_unittest.cc |
diff --git a/sync/internal_api/public/util/proto_value_ptr_unittest.cc b/sync/internal_api/public/util/proto_value_ptr_unittest.cc |
index b47ffa5571a898d4114b5d023598e410f06d80f5..d5223171e24a971898eb112665f4b97ed1879811 100644 |
--- a/sync/internal_api/public/util/proto_value_ptr_unittest.cc |
+++ b/sync/internal_api/public/util/proto_value_ptr_unittest.cc |
@@ -4,6 +4,8 @@ |
#include "sync/internal_api/public/util/proto_value_ptr.h" |
+#include <utility> |
+ |
#include "base/macros.h" |
#include "base/memory/scoped_ptr.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -70,7 +72,7 @@ class TestValue { |
ASSERT_TRUE(src->is_initialized()); |
ASSERT_FALSE(src->is_default()); |
// Not exactly swap, but good enough for the test. |
- value_ = src->value_.Pass(); |
+ value_ = std::move(src->value_); |
} |
void ParseFromArray(const void* blob, int length) { |