mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 865945. Increment the visible count before calling FrameCreated so that the image for an SVGFEImage element is actually considered visible. r=mats
This commit is contained in:
parent
670b423305
commit
6542a83d06
@ -110,9 +110,11 @@ SVGFEImageFrame::Init(nsIContent* aContent,
|
||||
do_QueryInterface(SVGFEImageFrameBase::mContent);
|
||||
|
||||
if (imageLoader) {
|
||||
imageLoader->FrameCreated(this);
|
||||
// We assume that feImage's are always visible.
|
||||
// Increment the visible count before calling FrameCreated so that
|
||||
// FrameCreated will actually track the image correctly.
|
||||
imageLoader->IncrementVisibleCount();
|
||||
imageLoader->FrameCreated(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user