Index: content/browser/devtools/protocol/emulation_handler.cc |
diff --git a/content/browser/devtools/protocol/emulation_handler.cc b/content/browser/devtools/protocol/emulation_handler.cc |
index 915c3ae48586a05d2a33ee09c7bec7c42cce7898..f5945d713214f6604c2bf9640739f85847f7d62b 100644 |
--- a/content/browser/devtools/protocol/emulation_handler.cc |
+++ b/content/browser/devtools/protocol/emulation_handler.cc |
@@ -4,6 +4,8 @@ |
#include "content/browser/devtools/protocol/emulation_handler.h" |
+#include <utility> |
+ |
#include "base/strings/string_number_conversions.h" |
#include "build/build_config.h" |
#include "content/browser/frame_host/render_frame_host_impl.h" |
@@ -82,7 +84,7 @@ Response EmulationHandler::SetGeolocationOverride( |
} else { |
geoposition->error_code = Geoposition::ERROR_CODE_POSITION_UNAVAILABLE; |
} |
- geolocation_context->SetOverride(geoposition.Pass()); |
+ geolocation_context->SetOverride(std::move(geoposition)); |
return Response::OK(); |
} |