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

Unified Diff: content/browser/child_process_launcher.cc

Issue 1181953002: Load non-locale .pak files directly from the .apk on Android (rather than extracting on start-up). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@raw-paks
Patch Set: Fix content_browsertests 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
Index: content/browser/child_process_launcher.cc
diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc
index 4f8e19095b0dc3cc1db7d1dcd83abc01d3dc86af..0abbc60cc3b654fba90ea5fe8f7c2051d55768e1 100644
--- a/content/browser/child_process_launcher.cc
+++ b/content/browser/child_process_launcher.cc
@@ -146,7 +146,11 @@ void LaunchOnLauncherThread(const NotifyCallback& callback,
#if defined(OS_POSIX) && !defined(OS_MACOSX)
std::map<int, base::MemoryMappedFile::Region> regions;
GetContentClient()->browser()->GetAdditionalMappedFilesForChildProcess(
- *cmd_line, child_process_id, files_to_register.get());
+ *cmd_line, child_process_id, files_to_register.get()
+#if defined(OS_ANDROID)
+ , &regions
+#endif
+ );
#if defined(V8_USE_EXTERNAL_STARTUP_DATA)
base::PlatformFile natives_pf =
gin::V8Initializer::GetOpenNativesFileForChildProcesses(

Powered by Google App Engine
This is Rietveld 408576698