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

Unified Diff: media/audio/android/audio_manager_android.cc

Issue 2352853002: Disallow redundant Bind calls. (Closed)
Patch Set: static_assert message tweak Created 4 years, 3 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
« no previous file with comments | « device/serial/data_sender.cc ('k') | media/base/bind_to_current_loop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/android/audio_manager_android.cc
diff --git a/media/audio/android/audio_manager_android.cc b/media/audio/android/audio_manager_android.cc
index 56a522ae3d7f8965d8352cfdd6d3b63062f2e8f8..c8fa1761f09ed1eec19e12ad45428fb2df4d2373 100644
--- a/media/audio/android/audio_manager_android.cc
+++ b/media/audio/android/audio_manager_android.cc
@@ -82,9 +82,9 @@ AudioManagerAndroid::~AudioManagerAndroid() {
void AudioManagerAndroid::InitializeIfNeeded() {
GetTaskRunner()->PostTask(
- FROM_HERE, base::Bind(base::Bind(base::IgnoreResult(
- &AudioManagerAndroid::GetJavaAudioManager)),
- base::Unretained(this)));
+ FROM_HERE,
+ base::Bind(base::IgnoreResult(&AudioManagerAndroid::GetJavaAudioManager),
+ base::Unretained(this)));
}
bool AudioManagerAndroid::HasAudioOutputDevices() {
« no previous file with comments | « device/serial/data_sender.cc ('k') | media/base/bind_to_current_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698