summaryrefslogtreecommitdiffstats
path: root/net/log/write_to_file_net_log_observer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/log/write_to_file_net_log_observer.cc')
-rw-r--r--net/log/write_to_file_net_log_observer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/log/write_to_file_net_log_observer.cc b/net/log/write_to_file_net_log_observer.cc
index 5c4f951..3bc7814 100644
--- a/net/log/write_to_file_net_log_observer.cc
+++ b/net/log/write_to_file_net_log_observer.cc
@@ -5,8 +5,8 @@
#include "net/log/write_to_file_net_log_observer.h"
#include <stdio.h>
-
#include <set>
+#include <utility>
#include "base/json/json_writer.h"
#include "base/logging.h"
@@ -36,7 +36,7 @@ void WriteToFileNetLogObserver::StartObserving(
base::Value* constants,
URLRequestContext* url_request_context) {
DCHECK(file.get());
- file_ = file.Pass();
+ file_ = std::move(file);
added_events_ = false;
// Write constants to the output file. This allows loading files that have