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

Unified Diff: android_webview/browser/aw_content_browser_client.cc

Issue 2391763004: [Merge M54] 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 122c007d3a1409fd5bb57ef3a4e5821f36e0a79b..6dfe12a76681b57d55573447724b3f66d7dabbb8 100644
--- a/android_webview/browser/aw_content_browser_client.cc
+++ b/android_webview/browser/aw_content_browser_client.cc
@@ -483,6 +483,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