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

Unified Diff: content/renderer/media/webrtc_audio_renderer.h

Issue 13749004: Rewrite scoped_array<T> to scoped_ptr<T[]> in content/, Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « content/renderer/hyphenator/hyphenator.cc ('k') | content/renderer/pepper/pepper_truetype_font_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webrtc_audio_renderer.h
diff --git a/content/renderer/media/webrtc_audio_renderer.h b/content/renderer/media/webrtc_audio_renderer.h
index e0b19c707f234c871d9a0bd02707067b26a9cbf7..af4bf38823ba369f899bb1caafa298032c76cbd1 100644
--- a/content/renderer/media/webrtc_audio_renderer.h
+++ b/content/renderer/media/webrtc_audio_renderer.h
@@ -78,7 +78,7 @@ class CONTENT_EXPORT WebRtcAudioRenderer
// Buffers used for temporary storage during render callbacks.
// Allocated during initialization.
- scoped_array<int16> buffer_;
+ scoped_ptr<int16[]> buffer_;
// Protects access to |state_|, |source_| and |sink_|.
base::Lock lock_;
« no previous file with comments | « content/renderer/hyphenator/hyphenator.cc ('k') | content/renderer/pepper/pepper_truetype_font_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698