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

Unified Diff: base/file_version_info_win.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/file_version_info_unittest.cc ('k') | base/files/file_path_watcher_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_version_info_win.h
diff --git a/base/file_version_info_win.h b/base/file_version_info_win.h
index 9b5967097cfd9176f216fc7e190675256aa5d553..1e152a86d6516079c3651907e2a5c64793a7b824 100644
--- a/base/file_version_info_win.h
+++ b/base/file_version_info_win.h
@@ -5,13 +5,13 @@
#ifndef BASE_FILE_VERSION_INFO_WIN_H_
#define BASE_FILE_VERSION_INFO_WIN_H_
+#include <memory>
#include <string>
#include "base/base_export.h"
#include "base/file_version_info.h"
#include "base/macros.h"
#include "base/memory/free_deleter.h"
-#include "base/memory/scoped_ptr.h"
struct tagVS_FIXEDFILEINFO;
typedef tagVS_FIXEDFILEINFO VS_FIXEDFILEINFO;
@@ -51,7 +51,7 @@ class BASE_EXPORT FileVersionInfoWin : public FileVersionInfo {
VS_FIXEDFILEINFO* fixed_file_info() { return fixed_file_info_; }
private:
- scoped_ptr<char, base::FreeDeleter> data_;
+ std::unique_ptr<char, base::FreeDeleter> data_;
WORD language_;
WORD code_page_;
// This is a pointer into the data_ if it exists. Otherwise NULL.
« no previous file with comments | « base/file_version_info_unittest.cc ('k') | base/files/file_path_watcher_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698