Index: base/android/java/src/org/chromium/base/ResourceExtractor.java |
diff --git a/base/android/java/src/org/chromium/base/ResourceExtractor.java b/base/android/java/src/org/chromium/base/ResourceExtractor.java |
index d44f2fc7c22bdc1697571606c3465a0bc902f3f4..dd654ff6efb67fe4b05333701e21f418fcc9f6c7 100644 |
--- a/base/android/java/src/org/chromium/base/ResourceExtractor.java |
+++ b/base/android/java/src/org/chromium/base/ResourceExtractor.java |
@@ -309,6 +309,7 @@ public class ResourceExtractor { |
* required, pass a single empty string. |
*/ |
public static void setMandatoryPaksToExtract(String... mandatoryPaks) { |
+ // TODO(agrieve): Remove the need to call this once all files are loaded from the apk. |
assert (sInstance == null || sInstance.mExtractTask == null) |
: "Must be called before startExtractingResources is called"; |
sMandatoryPaks = mandatoryPaks; |
@@ -346,8 +347,6 @@ public class ResourceExtractor { |
} catch (IOException e) { |
Log.w(LOGTAG, "Exception while accessing assets: " + e.getMessage(), e); |
} |
- pakAndSnapshotFileAssets.add("natives_blob.bin"); |
- pakAndSnapshotFileAssets.add("snapshot_blob.bin"); |
setMandatoryPaksToExtract(pakAndSnapshotFileAssets.toArray( |
new String[pakAndSnapshotFileAssets.size()])); |
} |