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

Unified Diff: chrome/utility/image_writer/disk_unmounter_mac.cc

Issue 1899083002: Convert //chrome from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/image_writer/disk_unmounter_mac.cc
diff --git a/chrome/utility/image_writer/disk_unmounter_mac.cc b/chrome/utility/image_writer/disk_unmounter_mac.cc
index 8d3155a2955fc3654a0ed821e96724d8eae18f0a..7f2777cfb775c1aad1220e5ba8adf009125cb0dc 100644
--- a/chrome/utility/image_writer/disk_unmounter_mac.cc
+++ b/chrome/utility/image_writer/disk_unmounter_mac.cc
@@ -89,8 +89,8 @@ void DiskUnmounterMac::DiskUnmounted(DADiskRef disk,
}
// static
-scoped_ptr<base::MessagePump> DiskUnmounterMac::CreateMessagePump() {
- return scoped_ptr<base::MessagePump>(new base::MessagePumpCFRunLoop);
+std::unique_ptr<base::MessagePump> DiskUnmounterMac::CreateMessagePump() {
+ return std::unique_ptr<base::MessagePump>(new base::MessagePumpCFRunLoop);
}
void DiskUnmounterMac::UnmountOnWorker(const std::string& device_path) {

Powered by Google App Engine
This is Rietveld 408576698