Bug 724886: Push images from plugin code instead of pulling from nsObjectFrame. r=roc

This commit is contained in:
Bas Schouten
2012-02-08 16:34:27 +01:00
parent 3abd825685
commit 86897d23dd
13 changed files with 72 additions and 49 deletions

View File

@@ -687,12 +687,11 @@ PluginModuleParent::HandleGUIEvent(NPP instance,
#endif
nsresult
PluginModuleParent::GetImage(NPP instance,
mozilla::layers::ImageContainer* aContainer,
mozilla::layers::Image** aImage)
PluginModuleParent::GetImageContainer(NPP instance,
mozilla::layers::ImageContainer** aContainer)
{
PluginInstanceParent* i = InstCast(instance);
return !i ? NS_ERROR_FAILURE : i->GetImage(aContainer, aImage);
return !i ? NS_ERROR_FAILURE : i->GetImageContainer(aContainer);
}
nsresult