| commit | 8f69330310bf786cff373c225967e7459fb0b560 | [log] [tgz] |
|---|---|---|
| author | andrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Fri Apr 25 23:10:28 2014 |
| committer | andrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Fri Apr 25 23:10:28 2014 |
| tree | 4bdcbcee950df29dc37e66b426a968c489db738a | |
| parent | 658a94595d33bd25b683575e9dc92f33fa2a7bc6 [diff] [blame] |
Replace scoped_array<T> with scoped_ptr<T[]>. scoped_array is deprecated. This was done using a Chromium clang tool: http://src.chromium.org/viewvc/chrome/trunk/src/tools/clang/rewrite_scoped_ar... except for the few not-built-on-Linux files which were updated manually. TESTED=trybots BUG=2515 R=niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/12429004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5985 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/audio_coding/neteq4/neteq_impl.h b/webrtc/modules/audio_coding/neteq4/neteq_impl.h index 09a0049..6fef213 100644 --- a/webrtc/modules/audio_coding/neteq4/neteq_impl.h +++ b/webrtc/modules/audio_coding/neteq4/neteq_impl.h
@@ -371,9 +371,9 @@ int output_size_samples_ GUARDED_BY(crit_sect_); int decoder_frame_length_ GUARDED_BY(crit_sect_); Modes last_mode_ GUARDED_BY(crit_sect_); - scoped_array<int16_t> mute_factor_array_ GUARDED_BY(crit_sect_); + scoped_ptr<int16_t[]> mute_factor_array_ GUARDED_BY(crit_sect_); size_t decoded_buffer_length_ GUARDED_BY(crit_sect_); - scoped_array<int16_t> decoded_buffer_ GUARDED_BY(crit_sect_); + scoped_ptr<int16_t[]> decoded_buffer_ GUARDED_BY(crit_sect_); uint32_t playout_timestamp_ GUARDED_BY(crit_sect_); bool new_codec_ GUARDED_BY(crit_sect_); uint32_t timestamp_ GUARDED_BY(crit_sect_);