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

Unified Diff: chrome/utility/safe_browsing/mac/udif.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
« no previous file with comments | « chrome/utility/safe_browsing/mac/dmg_iterator.cc ('k') | components/policy/core/common/mac_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/safe_browsing/mac/udif.cc
diff --git a/chrome/utility/safe_browsing/mac/udif.cc b/chrome/utility/safe_browsing/mac/udif.cc
index 807a762bc9c443d3afc99d8b2923ffc856c4a81e..8e3ce0fca6a18cf51c6b0937c54cf5b75372ea80 100644
--- a/chrome/utility/safe_browsing/mac/udif.cc
+++ b/chrome/utility/safe_browsing/mac/udif.cc
@@ -4,12 +4,13 @@
#include "chrome/utility/safe_browsing/mac/udif.h"
-#include <bzlib.h>
#include <CoreFoundation/CoreFoundation.h>
+#include <bzlib.h>
#include <libkern/OSByteOrder.h>
#include <uuid/uuid.h>
#include <algorithm>
+#include <utility>
#include "base/logging.h"
#include "base/mac/foundation_util.h"
@@ -470,7 +471,7 @@ bool UDIFParser::ParseBlkx() {
}
}
- blocks_.push_back(block.Pass());
+ blocks_.push_back(std::move(block));
partition_names_.push_back(partition_name);
}
« no previous file with comments | « chrome/utility/safe_browsing/mac/dmg_iterator.cc ('k') | components/policy/core/common/mac_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698