Index: chrome/browser/component_updater/component_unpacker.cc |
=================================================================== |
--- chrome/browser/component_updater/component_unpacker.cc (revision 95372) |
+++ chrome/browser/component_updater/component_unpacker.cc (working copy) |
@@ -91,7 +91,7 @@ |
} |
const size_t kBufSize = 8 * 1024; |
- scoped_ptr<uint8> buf(new uint8[kBufSize]); |
+ scoped_array<uint8> buf(new uint8[kBufSize]); |
while ((len = fread(buf.get(), 1, kBufSize, crx_file)) > 0) |
verifier.VerifyUpdate(buf.get(), len); |
@@ -208,4 +208,3 @@ |
file_util::Delete(unpack_path_, true); |
} |
} |
- |