Index: webrtc/modules/audio_device/android/audio_manager.cc |
diff --git a/webrtc/modules/audio_device/android/audio_manager.cc b/webrtc/modules/audio_device/android/audio_manager.cc |
index 6925c3d6144ba5b8078296460424d643face791f..d56e9c1bef86caa3dbebd610aad5b77caf79a86f 100644 |
--- a/webrtc/modules/audio_device/android/audio_manager.cc |
+++ b/webrtc/modules/audio_device/android/audio_manager.cc |
@@ -83,11 +83,10 @@ AudioManager::AudioManager() |
j_native_registration_ = j_environment_->RegisterNatives( |
"org/webrtc/voiceengine/WebRtcAudioManager", native_methods, |
arraysize(native_methods)); |
- j_audio_manager_.reset(new JavaAudioManager( |
- j_native_registration_.get(), |
- j_native_registration_->NewObject( |
- "<init>", "(Landroid/content/Context;J)V", |
- JVM::GetInstance()->context(), PointerTojlong(this)))); |
+ j_audio_manager_.reset( |
+ new JavaAudioManager(j_native_registration_.get(), |
+ j_native_registration_->NewObject( |
+ "<init>", "(J)V", PointerTojlong(this)))); |
} |
AudioManager::~AudioManager() { |