Index: content/browser/ppapi_plugin_process_host.cc |
diff --git a/content/browser/ppapi_plugin_process_host.cc b/content/browser/ppapi_plugin_process_host.cc |
index 39c6bc30205244703b847bb2f21fa11dcab55373..67f0fd21e6ca6c2d61c9d5af65fd785bcdaa2a53 100644 |
--- a/content/browser/ppapi_plugin_process_host.cc |
+++ b/content/browser/ppapi_plugin_process_host.cc |
@@ -232,7 +232,11 @@ PpapiPluginProcessHost::PpapiPluginProcessHost( |
: profile_data_directory_(profile_data_directory), |
is_broker_(false) { |
uint32 base_permissions = info.permissions; |
- if (GetContentClient()->browser()->IsPluginAllowedToUseDevChannelAPIs()) |
+ |
+ // We don't have to do any whitelisting for APIs this process host, so don't |
dmichael (off chromium)
2014/06/13 21:07:26
APIs +in+ this process host?
teravest
2014/06/13 21:13:00
Done.
|
+ // bother passing a browser context or document url here. |
+ if (GetContentClient()->browser()->IsPluginAllowedToUseDevChannelAPIs( |
+ NULL, GURL())) |
base_permissions |= ppapi::PERMISSION_DEV_CHANNEL; |
permissions_ = ppapi::PpapiPermissions::GetForCommandLine(base_permissions); |