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

Unified Diff: dbus/file_descriptor.h

Issue 1867253002: Convert //dbus from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IWYU fixes in //device 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
« no previous file with comments | « dbus/exported_object.cc ('k') | dbus/message.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/file_descriptor.h
diff --git a/dbus/file_descriptor.h b/dbus/file_descriptor.h
index b4f95cb593ce5f00964fedaea13ad2c353cb13e2..8fcab2f440f4b00f08784706ea246bb91b375129 100644
--- a/dbus/file_descriptor.h
+++ b/dbus/file_descriptor.h
@@ -5,7 +5,8 @@
#ifndef DBUS_FILE_DESCRIPTOR_H_
#define DBUS_FILE_DESCRIPTOR_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "base/move.h"
#include "dbus/dbus_export.h"
@@ -84,7 +85,7 @@ class CHROME_DBUS_EXPORT FileDescriptor {
};
using ScopedFileDescriptor =
- scoped_ptr<FileDescriptor, FileDescriptor::Deleter>;
+ std::unique_ptr<FileDescriptor, FileDescriptor::Deleter>;
} // namespace dbus
« no previous file with comments | « dbus/exported_object.cc ('k') | dbus/message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698