From 651143f5781add88e41df40bd1be3cfa60ef6a53 Mon Sep 17 00:00:00 2001 From: Timothy Nikkel Date: Sun, 27 Nov 2016 01:33:02 -0600 Subject: [PATCH] Bug 1317562. Make style images use async image notifications when requesting decoding. r=aosmond --- layout/style/nsStyleStruct.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/style/nsStyleStruct.cpp b/layout/style/nsStyleStruct.cpp index 585971c70577..fd4e371875a2 100644 --- a/layout/style/nsStyleStruct.cpp +++ b/layout/style/nsStyleStruct.cpp @@ -2285,7 +2285,7 @@ nsStyleImage::StartDecoding() const if (!req) { return NS_ERROR_FAILURE; } - return req->StartDecoding(imgIContainer::FLAG_NONE); + return req->StartDecoding(imgIContainer::FLAG_ASYNC_NOTIFY); } return NS_OK; }