Index: content/browser/renderer_host/media/audio_renderer_host.cc |
diff --git a/content/browser/renderer_host/media/audio_renderer_host.cc b/content/browser/renderer_host/media/audio_renderer_host.cc |
index 3b21720e9329a1ade901650de319590f030fae0b..59bb56762a0913a17f800d45c3526188edc45859 100644 |
--- a/content/browser/renderer_host/media/audio_renderer_host.cc |
+++ b/content/browser/renderer_host/media/audio_renderer_host.cc |
@@ -45,9 +45,7 @@ class AudioRendererHost::AudioEntry |
return render_view_id_; |
} |
- media::AudioOutputController* controller() const { |
- return controller_; |
- } |
+ media::AudioOutputController* controller() const { return controller_.get(); } |
base::SharedMemory* shared_memory() { |
return shared_memory_.get(); |
@@ -95,7 +93,7 @@ AudioRendererHost::AudioEntry::AudioEntry( |
host->audio_manager_, this, params, reader.get())), |
shared_memory_(shared_memory.Pass()), |
reader_(reader.Pass()) { |
- DCHECK(controller_); |
+ DCHECK(controller_.get()); |
} |
AudioRendererHost::AudioEntry::~AudioEntry() {} |