Bug 1317551. Make the main image drawing path ask for async notifications. r=aosmond

We don't want sync notifications during painting.
This commit is contained in:
Timothy Nikkel 2016-11-15 11:28:11 -06:00
parent 824b91b129
commit ed6c3f2ae9

View File

@ -6429,6 +6429,8 @@ DrawImageInternal(gfxContext& aContext,
{
DrawResult result = DrawResult::SUCCESS;
aImageFlags |= imgIContainer::FLAG_ASYNC_NOTIFY;
if (aPresContext->Type() == nsPresContext::eContext_Print) {
// We want vector images to be passed on as vector commands, not a raster
// image.