| 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..fc6a75ebed701a49324b6f6e050683df55812fb5 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 in this process host, so
|
| + // don't 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);
|
|
|
|
|