Bug 803518; add Painted() to BasicShadowableCanvasLayer::Paint; r=jgilbert

--HG--
extra : rebase_source : 2cad76436370ec2bf1d52208a732e638e62435d5
This commit is contained in:
Nicholas Cameron 2012-10-18 11:17:32 +13:00
parent 94671617cb
commit 46f96abb92

View File

@ -416,6 +416,8 @@ BasicShadowableCanvasLayer::Paint(gfxContext* aContext, Layer* aMaskLayer)
if (handle) { if (handle) {
mGLContext->MakeCurrent(); mGLContext->MakeCurrent();
mGLContext->UpdateSharedHandle(flags, handle); mGLContext->UpdateSharedHandle(flags, handle);
// call Painted() to reset our dirty 'bit'
Painted();
FireDidTransactionCallback(); FireDidTransactionCallback();
BasicManager()->PaintedCanvas(BasicManager()->Hold(this), BasicManager()->PaintedCanvas(BasicManager()->Hold(this),
mNeedsYFlip, mNeedsYFlip,