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

Unified Diff: base/file_util_proxy.cc

Issue 11961021: base: Convert scoped_arrays to the new scoped_ptr style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert callback changes Created 7 years, 11 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
Index: base/file_util_proxy.cc
diff --git a/base/file_util_proxy.cc b/base/file_util_proxy.cc
index 290279ef3e20823760e72ed3fefb5abc5a8b7246..c116186735c04d2ef2efec0c425fa4d3c19911d6 100644
--- a/base/file_util_proxy.cc
+++ b/base/file_util_proxy.cc
@@ -152,7 +152,7 @@ class ReadHelper {
}
private:
- scoped_array<char> buffer_;
+ scoped_ptr<char[]> buffer_;
int bytes_to_read_;
int bytes_read_;
DISALLOW_COPY_AND_ASSIGN(ReadHelper);
@@ -181,7 +181,7 @@ class WriteHelper {
}
private:
- scoped_array<char> buffer_;
+ scoped_ptr<char[]> buffer_;
int bytes_to_write_;
int bytes_written_;
DISALLOW_COPY_AND_ASSIGN(WriteHelper);

Powered by Google App Engine
This is Rietveld 408576698