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

Unified Diff: base/android/java/src/org/chromium/base/library_loader/ModernLinker.java

Issue 1710083004: Support Crazy Linker in WebAPK to load Chrome's uncompressed native libraries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 10 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: base/android/java/src/org/chromium/base/library_loader/ModernLinker.java
diff --git a/base/android/java/src/org/chromium/base/library_loader/ModernLinker.java b/base/android/java/src/org/chromium/base/library_loader/ModernLinker.java
index bff22c8cc3f7e024a98ce200f5fdaaf421cff058..a2b6dd7606caec4def181485ac63fd5e0e7469e6 100644
--- a/base/android/java/src/org/chromium/base/library_loader/ModernLinker.java
+++ b/base/android/java/src/org/chromium/base/library_loader/ModernLinker.java
@@ -117,14 +117,13 @@ class ModernLinker extends Linker {
if (mInBrowserProcess) {
setupBaseLoadAddressLocked();
mSharedRelros = new HashMap<String, LibInfo>();
+ // Retrieve the data directory from base.
+ mDataDirectory = PathUtils.getDataDirectory(null);
}
// Create an empty loaded libraries map.
mLoadedLibraries = new HashMap<String, LibInfo>();
- // Retrieve the data directory from base.
- mDataDirectory = PathUtils.getDataDirectory(null);
-
// Start the current load address at the base load address.
mCurrentLoadAddress = mBaseLoadAddress;
« no previous file with comments | « base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java ('k') | build/android/rezip/RezipApk.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698