Index: content/shell/browser/shell_net_log.cc |
diff --git a/content/shell/browser/shell_net_log.cc b/content/shell/browser/shell_net_log.cc |
index 7ecc5e8b7dc6ab444a48df4c254b8a6f9418fa6d..6e00a3c3f0bbb2ccfec35202b08ae3165e6d335e 100644 |
--- a/content/shell/browser/shell_net_log.cc |
+++ b/content/shell/browser/shell_net_log.cc |
@@ -5,6 +5,7 @@ |
#include "content/shell/browser/shell_net_log.h" |
#include <stdio.h> |
+#include <utility> |
#include "base/command_line.h" |
#include "base/files/file_path.h" |
@@ -65,8 +66,8 @@ ShellNetLog::ShellNetLog(const std::string& app_name) { |
} else { |
scoped_ptr<base::Value> constants(GetShellConstants(app_name)); |
write_to_file_observer_.reset(new net::WriteToFileNetLogObserver()); |
- write_to_file_observer_->StartObserving(this, file.Pass(), |
- constants.get(), nullptr); |
+ write_to_file_observer_->StartObserving(this, std::move(file), |
+ constants.get(), nullptr); |
} |
} |
} |