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

Unified Diff: webrtc/api/test/androidtestinitializer.cc

Issue 2253973002: Roll chromium_revision 915e47250f..e3860bd297 (412201:412289) (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 4 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 | « DEPS ('k') | webrtc/modules/audio_device/android/ensure_initialized.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/test/androidtestinitializer.cc
diff --git a/webrtc/api/test/androidtestinitializer.cc b/webrtc/api/test/androidtestinitializer.cc
index 5fb86fe3406ac734a31d7b0dd0cc147e626ba784..6791810d94425bfa8b89c5f08a20b9af1995ac4c 100644
--- a/webrtc/api/test/androidtestinitializer.cc
+++ b/webrtc/api/test/androidtestinitializer.cc
@@ -39,7 +39,7 @@ void EnsureInitializedOnce() {
JNIEnv* jni = ::base::android::AttachCurrentThread();
JavaVM* jvm = NULL;
RTC_CHECK_EQ(0, jni->GetJavaVM(&jvm));
- jobject context = ::base::android::GetApplicationContext();
+ jobject context = ::base::android::GetApplicationContext().obj();
RTC_CHECK_GE(webrtc_jni::InitGlobalJniVariables(jvm), 0);
RTC_CHECK(rtc::InitializeSSL()) << "Failed to InitializeSSL()";
« no previous file with comments | « DEPS ('k') | webrtc/modules/audio_device/android/ensure_initialized.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698