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

Unified Diff: android_webview/browser/aw_content_browser_client.cc

Issue 2384063005: Propagate common resources to WebView child process (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | android_webview/common/aw_descriptors.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_content_browser_client.cc
diff --git a/android_webview/browser/aw_content_browser_client.cc b/android_webview/browser/aw_content_browser_client.cc
index 2e6e9872b76edab982a06b9528ed14b6431a1256..decb036bdb10f9d0bac174d4ef13a9befa9a96ab 100644
--- a/android_webview/browser/aw_content_browser_client.cc
+++ b/android_webview/browser/aw_content_browser_client.cc
@@ -484,6 +484,10 @@ void AwContentBrowserClient::GetAdditionalMappedFilesForChildProcess(
&(*regions)[kAndroidWebViewMainPakDescriptor]);
mappings->Share(kAndroidWebViewMainPakDescriptor, fd);
+ fd = ui::GetCommonResourcesPackFd(
+ &(*regions)[kAndroidWebView100PercentPakDescriptor]);
+ mappings->Share(kAndroidWebView100PercentPakDescriptor, fd);
+
fd = ui::GetLocalePackFd(&(*regions)[kAndroidWebViewLocalePakDescriptor]);
mappings->Share(kAndroidWebViewLocalePakDescriptor, fd);
« no previous file with comments | « no previous file | android_webview/common/aw_descriptors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698