| 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 c7348caa2c080d6d4c9cc9b9ce0da2337d0da06e..f4d7ab72366bb8529b29f71dcff3a9abda739418 100644
|
| --- a/mojo/android/javatests/src/org/chromium/mojo/MojoTestCase.java
|
| +++ b/mojo/android/javatests/src/org/chromium/mojo/MojoTestCase.java
|
| @@ -4,7 +4,6 @@
|
|
|
| package org.chromium.mojo;
|
|
|
| -import android.content.Context;
|
| import android.test.InstrumentationTestCase;
|
|
|
| import org.chromium.base.ContextUtils;
|
| @@ -26,9 +25,9 @@ public class MojoTestCase extends InstrumentationTestCase {
|
| @Override
|
| protected void setUp() throws Exception {
|
| super.setUp();
|
| - Context appContext = getInstrumentation().getTargetContext().getApplicationContext();
|
| - ContextUtils.initApplicationContext(appContext);
|
| - LibraryLoader.get(LibraryProcessType.PROCESS_BROWSER).ensureInitialized(appContext);
|
| + ContextUtils.initApplicationContext(
|
| + getInstrumentation().getTargetContext().getApplicationContext());
|
| + LibraryLoader.get(LibraryProcessType.PROCESS_BROWSER).ensureInitialized();
|
| nativeInit();
|
| mTestEnvironmentPointer = nativeSetupTestEnvironment();
|
| }
|
|
|