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

Unified Diff: sky/shell/android/org/domokit/sky/shell/SkyMain.java

Issue 1221153002: Switch SkyShell to its own ResourceExtractor (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 | « sky/shell/android/org/domokit/sky/shell/SkyApplication.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/android/org/domokit/sky/shell/SkyMain.java
diff --git a/sky/shell/android/org/domokit/sky/shell/SkyMain.java b/sky/shell/android/org/domokit/sky/shell/SkyMain.java
index 9966979384d79353700153a9f209ee760cb69989..3150f4c6ee5bb93ab30c8c3de6504eb7a5cfeac8 100644
--- a/sky/shell/android/org/domokit/sky/shell/SkyMain.java
+++ b/sky/shell/android/org/domokit/sky/shell/SkyMain.java
@@ -8,7 +8,6 @@ import android.content.Context;
import android.util.Log;
import org.chromium.base.JNINamespace;
-import org.chromium.base.ResourceExtractor;
/**
* A class to intialize the native code.
@@ -30,9 +29,8 @@ public class SkyMain {
return;
}
try {
- ResourceExtractor resourceExtractor = ResourceExtractor.get(applicationContext);
- resourceExtractor.startExtractingResources();
- resourceExtractor.waitForCompletion();
+ SkyApplication app = (SkyApplication) applicationContext;
+ app.getResourceExtractor().waitForCompletion();
nativeInit(applicationContext);
sInitialized = true;
} catch (Exception e) {
« no previous file with comments | « sky/shell/android/org/domokit/sky/shell/SkyApplication.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698