Index: content/public/test/mock_render_process_host.cc |
diff --git a/content/public/test/mock_render_process_host.cc b/content/public/test/mock_render_process_host.cc |
index 1d87a48ad2aaad174b1c5963fa088021616a0839..b2647aa3edb67930461235c6187636a9533460b1 100644 |
--- a/content/public/test/mock_render_process_host.cc |
+++ b/content/public/test/mock_render_process_host.cc |
@@ -143,7 +143,10 @@ int MockRenderProcessHost::VisibleWidgetCount() const { |
return 1; |
} |
-void MockRenderProcessHost::AudioStateChanged() {} |
+void MockRenderProcessHost::AudioStateChanged() { |
+ if (!audio_state_changed_callback_.is_null()) |
+ audio_state_changed_callback_.Run(); |
+} |
bool MockRenderProcessHost::IsForGuestsOnly() const { |
return is_for_guests_only_; |