Index: chrome/test/chromedriver/chrome/web_view_impl.cc |
diff --git a/chrome/test/chromedriver/chrome/web_view_impl.cc b/chrome/test/chromedriver/chrome/web_view_impl.cc |
index bc6956a9c6b4b4b50c9829aaed43e110c6817d05..39446d9ccd8ea6c2c89a92e3c0b2d03fb0e309ce 100644 |
--- a/chrome/test/chromedriver/chrome/web_view_impl.cc |
+++ b/chrome/test/chromedriver/chrome/web_view_impl.cc |
@@ -5,6 +5,7 @@ |
#include "chrome/test/chromedriver/chrome/web_view_impl.h" |
#include <stddef.h> |
+#include <utility> |
#include "base/bind.h" |
#include "base/files/file_path.h" |
@@ -580,7 +581,7 @@ Status WebViewImpl::EndProfile(scoped_ptr<base::Value>* profile_data) { |
} |
} |
- *profile_data = profile_result.Pass(); |
+ *profile_data = std::move(profile_result); |
return status; |
} |