Index: components/net_log/chrome_net_log.cc |
diff --git a/components/net_log/chrome_net_log.cc b/components/net_log/chrome_net_log.cc |
index ad3c2d580468296f949ce7976a36caee69e1c042..f17908f82ca2fd6ac5b29a7e2326e244fb545f3d 100644 |
--- a/components/net_log/chrome_net_log.cc |
+++ b/components/net_log/chrome_net_log.cc |
@@ -5,6 +5,7 @@ |
#include "components/net_log/chrome_net_log.h" |
#include <stdio.h> |
+#include <utility> |
#include "base/command_line.h" |
#include "base/files/scoped_file.h" |
@@ -54,7 +55,7 @@ ChromeNetLog::ChromeNetLog( |
write_to_file_observer_->set_capture_mode(log_file_mode); |
- write_to_file_observer_->StartObserving(this, file.Pass(), |
+ write_to_file_observer_->StartObserving(this, std::move(file), |
constants.get(), nullptr); |
} |
} |