Bug 1260391: Fix |ImageBridgeChild::UseOverlaySource|, r=dvander

This commit is contained in:
Thomas Zimmermann 2016-03-30 10:59:08 +02:00
parent da166b0f2c
commit b2c3effe60

View File

@ -226,8 +226,13 @@ ImageBridgeChild::UseOverlaySource(CompositableClient* aCompositable,
{
MOZ_ASSERT(aCompositable);
MOZ_ASSERT(aCompositable->IsConnected());
mTxn->AddEdit(OpUseOverlaySource(nullptr, aCompositable->GetIPDLActor(),
aOverlay, aPictureRect));
CompositableOperation op(
nullptr,
aCompositable->GetIPDLActor(),
OpUseOverlaySource(aOverlay, aPictureRect));
mTxn->AddEdit(op);
}
#endif