Bug 556487 - Disable layers for non-ipc API. r=roc a=blocking2.0

This commit is contained in:
Oleg Romashin
2010-09-15 09:02:47 -07:00
parent 2fbd921631
commit 2c0c08cf6c
9 changed files with 54 additions and 2 deletions

View File

@@ -643,6 +643,16 @@ PluginModuleParent::GetSurface(NPP instance, gfxASurface** aSurface)
return i->GetSurface(aSurface);
}
nsresult
PluginModuleParent::UseAsyncPainting(NPP instance, PRBool* aIsAsync)
{
PluginInstanceParent* i = InstCast(instance);
if (!i)
return NS_ERROR_FAILURE;
return i->UseAsyncPainting(aIsAsync);
}
#if defined(XP_UNIX) && !defined(XP_MACOSX)
nsresult