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

Unified Diff: mojo/android/javatests/src/org/chromium/mojo/MojoTestCase.java

Issue 1641513004: Update //base to chromium 9659b08ea5a34f889dc4166217f438095ddc10d2 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 11 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 | « gpu/config/gpu_test_expectations_parser.cc ('k') | mojo/dart/embedder/dart_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/android/javatests/src/org/chromium/mojo/MojoTestCase.java
diff --git a/mojo/android/javatests/src/org/chromium/mojo/MojoTestCase.java b/mojo/android/javatests/src/org/chromium/mojo/MojoTestCase.java
index 4af9a2826592e296f0354bd711e24564c0a1b818..6edf95f86bca5607db321c138fda47cbe42bc1df 100644
--- a/mojo/android/javatests/src/org/chromium/mojo/MojoTestCase.java
+++ b/mojo/android/javatests/src/org/chromium/mojo/MojoTestCase.java
@@ -25,8 +25,9 @@ public class MojoTestCase extends InstrumentationTestCase {
@Override
protected void setUp() throws Exception {
super.setUp();
- LibraryLoader.get(LibraryProcessType.PROCESS_BROWSER).ensureInitialized();
- nativeInitApplicationContext(getInstrumentation().getTargetContext());
+ Context context = getInstrumentation().getTargetContext();
+ LibraryLoader.get(LibraryProcessType.PROCESS_BROWSER).ensureInitialized(context);
+ nativeInitApplicationContext(context);
mTestEnvironmentPointer = nativeSetupTestEnvironment();
}
« no previous file with comments | « gpu/config/gpu_test_expectations_parser.cc ('k') | mojo/dart/embedder/dart_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698