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

Unified Diff: webrtc/modules/audio_device/android/build_info.cc

Issue 1722083002: Replace scoped_ptr with unique_ptr in webrtc/modules/audio_device/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 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: 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")) {
}
« no previous file with comments | « webrtc/modules/audio_device/android/build_info.h ('k') | webrtc/modules/audio_device/android/opensles_player.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698