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

Unified Diff: chromeos/timezone/timezone_provider.cc

Issue 1556773002: Convert Pass()→std::move() in //chromeos (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
« no previous file with comments | « chromeos/network/shill_property_util.cc ('k') | chromeos/timezone/timezone_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/timezone/timezone_provider.cc
diff --git a/chromeos/timezone/timezone_provider.cc b/chromeos/timezone/timezone_provider.cc
index 08e10e5359820e2b14efe859c3589f9cf00feac1..591e9f0094b7cdc77395f624fe9cca85fe598e73 100644
--- a/chromeos/timezone/timezone_provider.cc
+++ b/chromeos/timezone/timezone_provider.cc
@@ -6,6 +6,7 @@
#include <algorithm>
#include <iterator>
+#include <utility>
#include "base/bind.h"
#include "base/logging.h"
@@ -55,7 +56,7 @@ void TimeZoneProvider::OnTimezoneResponse(
requests_.resize(requests_.size() - 1);
}
- callback.Run(timezone.Pass(), server_error);
+ callback.Run(std::move(timezone), server_error);
}
} // namespace chromeos
« no previous file with comments | « chromeos/network/shill_property_util.cc ('k') | chromeos/timezone/timezone_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698