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

Unified Diff: media/audio/win/waveout_output_win.cc

Issue 13692002: Update calls to scoped_array<T>::reset(NULL) to use the no-arg version. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Prepare for landing! 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/win/waveout_output_win.cc
diff --git a/media/audio/win/waveout_output_win.cc b/media/audio/win/waveout_output_win.cc
index 208a94f5bea6cfeb4f7b401f5371b0e58d6db9a8..f42d94866b1c4f33788b7a982272e8c4241c926b 100644
--- a/media/audio/win/waveout_output_win.cc
+++ b/media/audio/win/waveout_output_win.cc
@@ -168,7 +168,7 @@ void PCMWaveOutAudioOutputStream::FreeBuffers() {
for (int ix = 0; ix != num_buffers_; ++ix) {
::waveOutUnprepareHeader(waveout_, GetBuffer(ix), sizeof(WAVEHDR));
}
- buffers_.reset(NULL);
+ buffers_.reset();
}
// Initially we ask the source to fill up all audio buffers. If we don't do
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698