зеркало из https://github.com/mozilla/gecko-dev.git
Bug 866259. Vector images need to send the unlocked draw notification too because it is also responsible for managing the number of animation consumers. r=joedrew
This commit is contained in:
Родитель
c34cc22f2f
Коммит
185ae2569a
|
@ -653,6 +653,11 @@ VectorImage::Draw(gfxContext* aContext,
|
|||
NS_WARNING("Refusing to make re-entrant call to VectorImage::Draw");
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
if (mAnimationConsumers == 0 && mStatusTracker) {
|
||||
mStatusTracker->OnUnlockedDraw();
|
||||
}
|
||||
|
||||
AutoRestore<bool> autoRestoreIsDrawing(mIsDrawing);
|
||||
mIsDrawing = true;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче