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

Unified Diff: blimp/client/app/android/javatests/src/org/chromium/blimp/BlimpNativeInstrumentationTestCase.java

Issue 2247143004: Remove app context init from LibraryLoader. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix per review. 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: blimp/client/app/android/javatests/src/org/chromium/blimp/BlimpNativeInstrumentationTestCase.java
diff --git a/blimp/client/app/android/javatests/src/org/chromium/blimp/BlimpNativeInstrumentationTestCase.java b/blimp/client/app/android/javatests/src/org/chromium/blimp/BlimpNativeInstrumentationTestCase.java
index 179138e52bbd0cf98b66653c00211616082f17fb..5a9e49921f185dd26fb6b1d9efc4466b25d203ad 100644
--- a/blimp/client/app/android/javatests/src/org/chromium/blimp/BlimpNativeInstrumentationTestCase.java
+++ b/blimp/client/app/android/javatests/src/org/chromium/blimp/BlimpNativeInstrumentationTestCase.java
@@ -25,13 +25,13 @@ public class BlimpNativeInstrumentationTestCase extends InstrumentationTestCase
@Override
public void run() {
try {
- BlimpLibraryLoader.startAsync(getInstrumentation().getTargetContext(),
- new BlimpLibraryLoader.Callback() {
- public void onStartupComplete(boolean success) {
- mSuccess = success;
- mNativeReadySemaphore.release();
- }
- });
+ BlimpLibraryLoader.startAsync(new BlimpLibraryLoader.Callback() {
+ @Override
+ public void onStartupComplete(boolean success) {
+ mSuccess = success;
+ mNativeReadySemaphore.release();
+ }
+ });
} catch (ProcessInitException e) {
throw new RuntimeException("Failed to initialize process.");
}

Powered by Google App Engine
This is Rietveld 408576698