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

Unified Diff: base/win/enum_variant.h

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after r384946 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 | « base/values_unittest.cc ('k') | base/win/registry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/enum_variant.h
diff --git a/base/win/enum_variant.h b/base/win/enum_variant.h
index 2caaccded9ff58b2b70fe4903ec0f7bea29973ec..e27afcd93d4e1f482edda794d38549e7eabc5886 100644
--- a/base/win/enum_variant.h
+++ b/base/win/enum_variant.h
@@ -7,7 +7,8 @@
#include <unknwn.h>
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "base/win/iunknown_impl.h"
namespace base {
@@ -41,7 +42,7 @@ class BASE_EXPORT EnumVariant
private:
~EnumVariant() override;
- scoped_ptr<VARIANT[]> items_;
+ std::unique_ptr<VARIANT[]> items_;
unsigned long count_;
unsigned long current_index_;
};
« no previous file with comments | « base/values_unittest.cc ('k') | base/win/registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698