Index: webrtc/modules/audio_device/android/build_info.cc |
diff --git a/webrtc/modules/audio_device/android/build_info.cc b/webrtc/modules/audio_device/android/build_info.cc |
index 6289697073994c0d1b81b6e4b7119f36e6ca4eed..c6cecc96c5ba957835a5584babb1773d16ad8606 100644 |
--- a/webrtc/modules/audio_device/android/build_info.cc |
+++ b/webrtc/modules/audio_device/android/build_info.cc |
@@ -15,7 +15,7 @@ |
namespace webrtc { |
BuildInfo::BuildInfo() |
- : j_environment_(JVM::GetInstance()->environment()), |
+ : j_environment_(rtc::ScopedToUnique(JVM::GetInstance()->environment())), |
j_build_info_(JVM::GetInstance()->GetClass( |
"org/webrtc/voiceengine/BuildInfo")) { |
} |