aboutsummaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-chrome_common_extensions_chrome__extensions__client.cc
blob: a432dae921394965638e5f51df06582d7bf86d59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- chrome/common/extensions/chrome_extensions_client.cc.orig	2017-06-05 19:03:03 UTC
+++ chrome/common/extensions/chrome_extensions_client.cc
@@ -97,7 +97,10 @@ ChromeChannelForHistogram GetChromeChannelForHistogram
 static base::LazyInstance<ChromeExtensionsClient>::DestructorAtExit g_client =
     LAZY_INSTANCE_INITIALIZER;
 
-ChromeExtensionsClient::ChromeExtensionsClient() {}
+ChromeExtensionsClient::ChromeExtensionsClient()
+    : chrome_api_permissions_(ChromeAPIPermissions()),
+      extensions_api_permissions_(ExtensionsAPIPermissions()) {
+}
 
 ChromeExtensionsClient::~ChromeExtensionsClient() {
 }