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

Unified Diff: chrome/utility/media_galleries/pmp_column_reader.h

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
« no previous file with comments | « chrome/utility/media_galleries/media_metadata_parser.cc ('k') | chrome/utility/profile_import_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/media_galleries/pmp_column_reader.h
diff --git a/chrome/utility/media_galleries/pmp_column_reader.h b/chrome/utility/media_galleries/pmp_column_reader.h
index 7f885eaa925cad1ac4a0e375faccd28d11b9f823..9510f397de3824a779c304f6b46ee8bed4b62e8d 100644
--- a/chrome/utility/media_galleries/pmp_column_reader.h
+++ b/chrome/utility/media_galleries/pmp_column_reader.h
@@ -7,11 +7,11 @@
#include <stdint.h>
+#include <memory>
#include <string>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/common/media_galleries/pmp_constants.h"
namespace base {
@@ -49,7 +49,7 @@ class PmpColumnReader {
int64_t IndexStrings();
// Source data
- scoped_ptr<uint8_t[]> data_;
+ std::unique_ptr<uint8_t[]> data_;
int64_t length_;
// Header data
« no previous file with comments | « chrome/utility/media_galleries/media_metadata_parser.cc ('k') | chrome/utility/profile_import_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698