diff options
author | tkent@chromium.org <tkent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-19 05:55:43 +0000 |
---|---|---|
committer | tkent@chromium.org <tkent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-19 05:55:43 +0000 |
commit | 511da74a225c3e8731dc750c558ace6d599b95e3 (patch) | |
tree | 911ca697efc4c15594b0df088fd8e392e21135fa /media | |
parent | 50ae00ef9da3304a68d9f811380572a5e2ed03cb (diff) | |
download | chromium_src-511da74a225c3e8731dc750c558ace6d599b95e3.zip chromium_src-511da74a225c3e8731dc750c558ace6d599b95e3.tar.gz chromium_src-511da74a225c3e8731dc750c558ace6d599b95e3.tar.bz2 |
Fix incorrect usage of scope_ptr with an array.
NullAudioRender::buffer_ was declared as scoped_ptr<uint8>, But
NullAudioRender::OnInitialize() sets uint8[] to it.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/301001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29391 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/filters/null_audio_renderer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/filters/null_audio_renderer.h b/media/filters/null_audio_renderer.h index 0788568..e6f2e85 100644 --- a/media/filters/null_audio_renderer.h +++ b/media/filters/null_audio_renderer.h @@ -62,7 +62,7 @@ class NullAudioRenderer : public AudioRendererBase, PlatformThread::Delegate { size_t bytes_per_millisecond_; // A buffer passed to FillBuffer to advance playback. - scoped_ptr<uint8> buffer_; + scoped_array<uint8> buffer_; size_t buffer_size_; // Separate thread used to throw away data. |