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

Unified Diff: remoting/codec/audio_encoder_speex.h

Issue 13642007: Rewrite scoped_array<T> to scoped_ptr<T[]> in remoting/, Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Manually rewrite Win files. Created 7 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 | « remoting/codec/audio_encoder_opus.h ('k') | remoting/codec/codec_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/codec/audio_encoder_speex.h
diff --git a/remoting/codec/audio_encoder_speex.h b/remoting/codec/audio_encoder_speex.h
index 372f36b58df6b3fb7c64cc3a5f7c53bd38620502..9cbdf5905c54a093f5735b3258c67e8b74ebd114 100644
--- a/remoting/codec/audio_encoder_speex.h
+++ b/remoting/codec/audio_encoder_speex.h
@@ -30,7 +30,7 @@ class AudioEncoderSpeex : public AudioEncoder {
void* speex_state_;
int speex_frame_size_;
- scoped_array<int16> leftover_buffer_;
+ scoped_ptr<int16[]> leftover_buffer_;
// We may have some left-over unencoded frames from the previous AudioPacket.
int leftover_frames_;
« no previous file with comments | « remoting/codec/audio_encoder_opus.h ('k') | remoting/codec/codec_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698