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

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

Issue 12611030: Remove unused parameter to OnError() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 9 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.cc
diff --git a/content/browser/renderer_host/media/audio_renderer_host.cc b/content/browser/renderer_host/media/audio_renderer_host.cc
index 0853b803e60574861d8ce7d6f9144398d98a7a4f..484e2618e852a85faf4c40b09da87855ea6db1a0 100644
--- a/content/browser/renderer_host/media/audio_renderer_host.cc
+++ b/content/browser/renderer_host/media/audio_renderer_host.cc
@@ -66,7 +66,7 @@ class AudioRendererHost::AudioEntry
virtual void OnPlaying() OVERRIDE;
virtual void OnAudible(bool is_audible) OVERRIDE;
virtual void OnPaused() OVERRIDE;
- virtual void OnError(int error_code) OVERRIDE;
+ virtual void OnError() OVERRIDE;
virtual void OnDeviceChange(int new_buffer_size, int new_sample_rate)
OVERRIDE;
@@ -174,7 +174,7 @@ void AudioRendererHost::AudioEntry::OnPaused() {
stream_id_, media::AudioOutputIPCDelegate::kPaused)));
}
-void AudioRendererHost::AudioEntry::OnError(int error_code) {
+void AudioRendererHost::AudioEntry::OnError() {
BrowserThread::PostTask(
BrowserThread::IO,
FROM_HERE,

Powered by Google App Engine
This is Rietveld 408576698