Adapt to changes of Chrome 51 API changes (Part 2)
This commit is contained in:
parent
7ba391da7c
commit
a2bd55dd3c
48 changed files with 131 additions and 131 deletions
|
@ -18,9 +18,9 @@ void PepperHelper::DidCreatePepperPlugin(content::RendererPpapiHost* host) {
|
|||
// TODO(brettw) figure out how to hook up the host factory. It needs some
|
||||
// kind of filter-like system to allow dynamic additions.
|
||||
host->GetPpapiHost()->AddHostFactoryFilter(
|
||||
scoped_ptr<ppapi::host::HostFactory>(
|
||||
std::unique_ptr<ppapi::host::HostFactory>(
|
||||
new ChromeRendererPepperHostFactory(host)));
|
||||
host->GetPpapiHost()->AddInstanceMessageFilter(
|
||||
scoped_ptr<ppapi::host::InstanceMessageFilter>(
|
||||
std::unique_ptr<ppapi::host::InstanceMessageFilter>(
|
||||
new PepperSharedMemoryMessageFilter(host)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue