mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 13:56:29 +00:00
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:
parent
824b91b129
commit
ed6c3f2ae9
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user