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

Unified Diff: chrome/test/chromedriver/logging.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/logging.cc
diff --git a/chrome/test/chromedriver/logging.cc b/chrome/test/chromedriver/logging.cc
index 935ef73648a110d8fd1eab76feb48004224295ce..6cdc71c924cc7a0207d4e9cc95ed09ea6c2e0678 100644
--- a/chrome/test/chromedriver/logging.cc
+++ b/chrome/test/chromedriver/logging.cc
@@ -150,7 +150,7 @@ WebDriverLog::~WebDriverLog() {
scoped_ptr<base::ListValue> WebDriverLog::GetAndClearEntries() {
scoped_ptr<base::ListValue> ret(entries_.release());
entries_.reset(new base::ListValue());
- return ret.Pass();
+ return ret;
}
std::string WebDriverLog::GetFirstErrorMessage() const {

Powered by Google App Engine
This is Rietveld 408576698