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

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

Issue 10836025: Part 1: Plumb render view ID to render host (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments Created 8 years, 5 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 62c09bf140f184d92e230cd648260c553e0baf3f..d03a5d69c413bc3f3d558c35d271bf7c03afed56 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());
@@ -213,7 +214,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);
+ host_->OnCreateStream(kRenderViewId, kStreamId, params);
message_loop_->Run();
}

Powered by Google App Engine
This is Rietveld 408576698