| Index: base/win/scoped_handle_unittest.cc
|
| diff --git a/base/win/scoped_handle_unittest.cc b/base/win/scoped_handle_unittest.cc
|
| index b573b66450195bfc9f02193564d846b32fb160fe..47b773418e086177968507d0a426ba5db996d459 100644
|
| --- a/base/win/scoped_handle_unittest.cc
|
| +++ b/base/win/scoped_handle_unittest.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "base/win/scoped_handle.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| TEST(ScopedHandleTest, ScopedHandle) {
|
| @@ -27,6 +29,6 @@ TEST(ScopedHandleTest, ScopedHandle) {
|
| handle = ::CreateMutex(nullptr, FALSE, nullptr);
|
| base::win::ScopedHandle handle_source(handle);
|
| ::SetLastError(magic_error);
|
| - handle_holder = handle_source.Pass();
|
| + handle_holder = std::move(handle_source);
|
| EXPECT_EQ(magic_error, ::GetLastError());
|
| }
|
|
|