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

Unified Diff: content/browser/renderer_host/media/audio_renderer_host_unittest.cc

Issue 11166002: Plumb render view ID from audio-related code in renderer through IPCs to AudioRendererHost in brows… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed tommi's comments and rebased. Created 8 years, 2 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
Index: content/browser/renderer_host/media/audio_renderer_host_unittest.cc
diff --git a/content/browser/renderer_host/media/audio_renderer_host_unittest.cc b/content/browser/renderer_host/media/audio_renderer_host_unittest.cc
index 7a63f41cdf743b1a67ee385685e34f4f410d25da..d24e5cbc3d1a5e1893a59ac02f3af045a6a1a7d0 100644
--- a/content/browser/renderer_host/media/audio_renderer_host_unittest.cc
+++ b/content/browser/renderer_host/media/audio_renderer_host_unittest.cc
@@ -32,6 +32,7 @@ using content::BrowserThread;
using content::BrowserThreadImpl;
static const int kStreamId = 50;
+static const int kRenderViewId = -2;
static bool IsRunningHeadless() {
scoped_ptr<base::Environment> env(base::Environment::Create());
@@ -207,7 +208,7 @@ class AudioRendererHostTest : public testing::Test {
// Send a create stream message to the audio output stream and wait until
// we receive the created message.
- host_->OnCreateStream(kStreamId, params, 0);
+ host_->OnCreateStream(kRenderViewId, kStreamId, params, 0);
message_loop_->Run();
}

Powered by Google App Engine
This is Rietveld 408576698