Index: content/browser/loader/resource_dispatcher_host_unittest.cc |
diff --git a/content/browser/loader/resource_dispatcher_host_unittest.cc b/content/browser/loader/resource_dispatcher_host_unittest.cc |
index a41dfff2e95006f8f4f22b965794302f726692a0..71ed563b6bf64440a2229e35586992f30d144e69 100644 |
--- a/content/browser/loader/resource_dispatcher_host_unittest.cc |
+++ b/content/browser/loader/resource_dispatcher_host_unittest.cc |
@@ -751,7 +751,7 @@ class TestResourceDispatcherHostDelegate |
std::vector<std::unique_ptr<ResourceThrottle>>* throttles) override { |
if (user_data_) { |
const void* key = user_data_.get(); |
- request->SetUserData(key, user_data_.release()); |
+ request->SetUserData(key, std::move(user_data_)); |
} |
if (flags_ != NONE) { |