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

Unified Diff: media/audio/simple_sources_unittest.cc

Issue 10184011: Remove unused parameter "stream" from all variants of OnMoreData(). (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 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 | « media/audio/simple_sources.cc ('k') | media/audio/win/audio_low_latency_output_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/simple_sources_unittest.cc
===================================================================
--- media/audio/simple_sources_unittest.cc (revision 133451)
+++ media/audio/simple_sources_unittest.cc (working copy)
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <algorithm> // std::min
+
#include "base/logging.h"
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
@@ -51,7 +53,7 @@
// Read everything from the push source.
for (uint32 i = 0; i < kDataSize; i += kReadSize) {
uint32 size = std::min(kDataSize - i , kReadSize);
- EXPECT_EQ(size, push_source.OnMoreData(NULL, read_data.get(), size,
+ EXPECT_EQ(size, push_source.OnMoreData(read_data.get(), size,
AudioBuffersState()));
EXPECT_EQ(0, memcmp(data.get() + i, read_data.get(), size));
}
« no previous file with comments | « media/audio/simple_sources.cc ('k') | media/audio/win/audio_low_latency_output_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698