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

Unified Diff: testing/android/native_test/java/src/org/chromium/native_test/NativeBrowserTestActivity.java

Issue 2247143004: Remove app context init from LibraryLoader. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better formatting. Created 4 years, 3 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: testing/android/native_test/java/src/org/chromium/native_test/NativeBrowserTestActivity.java
diff --git a/testing/android/native_test/java/src/org/chromium/native_test/NativeBrowserTestActivity.java b/testing/android/native_test/java/src/org/chromium/native_test/NativeBrowserTestActivity.java
index 92fc469391dfb070ef4d3769cd65184336648d0d..985e75cca30cbe3e0377c41972ea1f0a1d7dbffa 100644
--- a/testing/android/native_test/java/src/org/chromium/native_test/NativeBrowserTestActivity.java
+++ b/testing/android/native_test/java/src/org/chromium/native_test/NativeBrowserTestActivity.java
@@ -7,6 +7,7 @@ package org.chromium.native_test;
import android.app.Activity;
import android.os.Bundle;
+import org.chromium.base.ContextUtils;
import org.chromium.base.Log;
import java.io.File;
@@ -35,6 +36,7 @@ public abstract class NativeBrowserTestActivity extends Activity {
for (String flag : BROWSER_TESTS_FLAGS) {
appendCommandLineFlags(flag);
}
+ ContextUtils.initApplicationContext(getApplicationContext());
}
@Override

Powered by Google App Engine
This is Rietveld 408576698