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

Unified Diff: chrome/utility/media_galleries/picasa_album_table_reader.cc

Issue 1579863003: Convert Pass()→std::move() for Mac build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months 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/utility/media_galleries/picasa_album_table_reader.cc
diff --git a/chrome/utility/media_galleries/picasa_album_table_reader.cc b/chrome/utility/media_galleries/picasa_album_table_reader.cc
index 3a7e651880e4ccdd242bce4114626dbda312e19b..a02b03fed67baf3c0133010df4bb07409f76f2ab 100644
--- a/chrome/utility/media_galleries/picasa_album_table_reader.cc
+++ b/chrome/utility/media_galleries/picasa_album_table_reader.cc
@@ -8,6 +8,7 @@
#include <algorithm>
#include <string>
+#include <utility>
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
@@ -29,9 +30,7 @@ base::Time TimeFromMicrosoftVariantTime(double variant_time) {
} // namespace
PicasaAlbumTableReader::PicasaAlbumTableReader(AlbumTableFiles table_files)
- : table_files_(table_files.Pass()),
- initialized_(false) {
-}
+ : table_files_(std::move(table_files)), initialized_(false) {}
PicasaAlbumTableReader::~PicasaAlbumTableReader() {
}
« no previous file with comments | « chrome/utility/extensions/extensions_handler.cc ('k') | chrome/utility/media_galleries/picasa_album_table_reader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698