Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7701)

Unified Diff: chrome/test/chromedriver/chrome/web_view_impl.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698