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

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

Issue 2847523002: Android: Remove GetApplicationContext part 4 (Closed)
Patch Set: fix cronet Created 3 years, 7 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/android/audio_manager_android.cc
diff --git a/media/audio/android/audio_manager_android.cc b/media/audio/android/audio_manager_android.cc
index 502a8cbf8dc84955a99546cfabc3858b164e0e4e..d500cae7c0369de7f138751345c4ed0f814db252 100644
--- a/media/audio/android/audio_manager_android.cc
+++ b/media/audio/android/audio_manager_android.cc
@@ -5,7 +5,6 @@
#include "media/audio/android/audio_manager_android.h"
#include "base/android/build_info.h"
-#include "base/android/context_utils.h"
#include "base/android/jni_array.h"
#include "base/android/jni_string.h"
#include "base/android/scoped_java_ref.h"
@@ -355,7 +354,6 @@ jobject AudioManagerAndroid::GetJavaAudioManager() {
DVLOG(2) << "Creating Java part of the audio manager";
j_audio_manager_.Reset(Java_AudioManagerAndroid_createAudioManagerAndroid(
base::android::AttachCurrentThread(),
- base::android::GetApplicationContext(),
reinterpret_cast<intptr_t>(this)));
// Prepare the list of audio devices and register receivers for device

Powered by Google App Engine
This is Rietveld 408576698