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

Unified Diff: media/audio/mac/audio_input_mac.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: media/audio/mac/audio_input_mac.cc
diff --git a/media/audio/mac/audio_input_mac.cc b/media/audio/mac/audio_input_mac.cc
index e741b29617540a3fe0278586be9fcd78dbe7b289..514b0215f15d0f979c3f8f1739e3d0aa65565078 100644
--- a/media/audio/mac/audio_input_mac.cc
+++ b/media/audio/mac/audio_input_mac.cc
@@ -136,7 +136,7 @@ bool PCMQueueInAudioInputStream::GetAutomaticGainControl() {
void PCMQueueInAudioInputStream::HandleError(OSStatus err) {
if (callback_)
- callback_->OnError(this, static_cast<int>(err));
+ callback_->OnError(this);
// This point should never be reached.
OSSTATUS_DCHECK(0, err);
}

Powered by Google App Engine
This is Rietveld 408576698