Index: third_party/WebKit/Source/platform/wtf/FunctionalTest.cpp |
diff --git a/third_party/WebKit/Source/platform/wtf/FunctionalTest.cpp b/third_party/WebKit/Source/platform/wtf/FunctionalTest.cpp |
index ae1f922d0c7b71707235affe6258dd8a2c3d003a..8ff8f7e78bac0bfab42d02e20f2a9fcd15c5cbbf 100644 |
--- a/third_party/WebKit/Source/platform/wtf/FunctionalTest.cpp |
+++ b/third_party/WebKit/Source/platform/wtf/FunctionalTest.cpp |
@@ -365,7 +365,7 @@ TEST(FunctionalTest, RefCountedStorage) { |
RefPtr<Number> six = Number::Create(6); |
std::unique_ptr<Function<int()>> multiply_six_by_two_function = |
- Bind(MultiplyNumberByTwo, six.Release()); |
+ Bind(MultiplyNumberByTwo, std::move(six)); |
EXPECT_FALSE(six); |
EXPECT_EQ(12, (*multiply_six_by_two_function)()); |
} |