Bug 1317552. Send unlocked draw notifications for images async when asked to. r=aosmond

This commit is contained in:
Timothy Nikkel
2016-11-17 00:25:53 -06:00
parent efd3e4ebdc
commit 16cc77da27
4 changed files with 29 additions and 6 deletions

View File

@@ -835,8 +835,8 @@ VectorImage::Draw(gfxContext* aContext,
return DrawResult::TEMPORARY_ERROR;
}
if (mAnimationConsumers == 0 && mProgressTracker) {
mProgressTracker->OnUnlockedDraw();
if (mAnimationConsumers == 0) {
SendOnUnlockedDraw(aFlags);
}
AutoRestore<bool> autoRestoreIsDrawing(mIsDrawing);