Index: mojo/fetcher/data_fetcher_unittest.cc |
diff --git a/mojo/fetcher/data_fetcher_unittest.cc b/mojo/fetcher/data_fetcher_unittest.cc |
index cfaeb8438028572d1e35712186d8e03e507a4267..6074dfac98746296e8aac5b72be782214317f2f0 100644 |
--- a/mojo/fetcher/data_fetcher_unittest.cc |
+++ b/mojo/fetcher/data_fetcher_unittest.cc |
@@ -4,6 +4,8 @@ |
#include "mojo/fetcher/data_fetcher.h" |
+#include <utility> |
+ |
#include "base/auto_reset.h" |
#include "base/bind.h" |
#include "base/logging.h" |
@@ -38,7 +40,7 @@ class FetchCallbackHelper { |
private: |
void CallbackHandler(scoped_ptr<shell::Fetcher> fetcher) { |
- fetcher_ = fetcher.Pass(); |
+ fetcher_ = std::move(fetcher); |
if (run_loop_) |
run_loop_->Quit(); |
} |