| Index: content/browser/renderer_host/media/audio_output_delegate_impl_unittest.cc
|
| diff --git a/content/browser/renderer_host/media/audio_output_delegate_impl_unittest.cc b/content/browser/renderer_host/media/audio_output_delegate_impl_unittest.cc
|
| index 2d64eff6d9dddb2b76d9f34c0bb0990ac327264f..05966a6c46db7ebfbc9771b5ef1d4a695e75fa16 100644
|
| --- a/content/browser/renderer_host/media/audio_output_delegate_impl_unittest.cc
|
| +++ b/content/browser/renderer_host/media/audio_output_delegate_impl_unittest.cc
|
| @@ -276,7 +276,7 @@ class AudioOutputDelegateTest : public testing::Test {
|
| kRenderProcessId, audio_manager_->GetDefaultOutputStreamParameters(),
|
| kDefaultDeviceId);
|
|
|
| - delegate.GetController()->StartDiverting(&stream);
|
| + delegate.GetControllerForTesting()->StartDiverting(&stream);
|
|
|
| SyncWithAllThreads();
|
|
|
| @@ -304,7 +304,7 @@ class AudioOutputDelegateTest : public testing::Test {
|
| kRenderProcessId, audio_manager_->GetDefaultOutputStreamParameters(),
|
| kDefaultDeviceId);
|
|
|
| - delegate.GetController()->StartDiverting(&stream);
|
| + delegate.GetControllerForTesting()->StartDiverting(&stream);
|
|
|
| SyncWithAllThreads();
|
| delegate.OnPauseStream();
|
| @@ -336,7 +336,7 @@ class AudioOutputDelegateTest : public testing::Test {
|
| kDefaultDeviceId);
|
|
|
| delegate.OnPlayStream();
|
| - delegate.GetController()->StartDiverting(&stream);
|
| + delegate.GetControllerForTesting()->StartDiverting(&stream);
|
|
|
| SyncWithAllThreads();
|
|
|
| @@ -364,7 +364,7 @@ class AudioOutputDelegateTest : public testing::Test {
|
| kRenderProcessId, audio_manager_->GetDefaultOutputStreamParameters(),
|
| kDefaultDeviceId);
|
|
|
| - delegate.GetController()->OnError(nullptr);
|
| + delegate.GetControllerForTesting()->OnError(nullptr);
|
|
|
| SyncWithAllThreads();
|
|
|
| @@ -439,7 +439,7 @@ class AudioOutputDelegateTest : public testing::Test {
|
| kDefaultDeviceId);
|
| SyncWithAllThreads();
|
|
|
| - delegate.GetController()->OnError(nullptr);
|
| + delegate.GetControllerForTesting()->OnError(nullptr);
|
| }
|
| SyncWithAllThreads();
|
| BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, done);
|
|
|