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

Unified Diff: base/file_version_info_win.h

Issue 168643002: Convert scoped_ptr_malloc -> scoped_ptr, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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_util.h ('k') | base/memory/aligned_memory.h » ('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 faacaa268347e2ea4f1b759249f4bf805402be68..d623c45426140aa3651fe397c160df4301799b1f 100644
--- a/base/file_version_info_win.h
+++ b/base/file_version_info_win.h
@@ -50,7 +50,7 @@ class FileVersionInfoWin : public FileVersionInfo {
VS_FIXEDFILEINFO* fixed_file_info() { return fixed_file_info_; }
private:
- scoped_ptr_malloc<char> data_;
+ scoped_ptr<char, base::FreeDeleter> data_;
int language_;
int code_page_;
// This is a pointer into the data_ if it exists. Otherwise NULL.
« no previous file with comments | « base/file_util.h ('k') | base/memory/aligned_memory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698