| Index: Source/core/svg/SVGImageElement.cpp
|
| diff --git a/Source/core/svg/SVGImageElement.cpp b/Source/core/svg/SVGImageElement.cpp
|
| index 4d9ec89f4b8735056233f713d1c4487492f01f3a..083d2a8103ce0a1f1eb71116010561b1f5fd57cd 100644
|
| --- a/Source/core/svg/SVGImageElement.cpp
|
| +++ b/Source/core/svg/SVGImageElement.cpp
|
| @@ -208,6 +208,11 @@ Node::InsertionNotificationRequest SVGImageElement::insertedInto(ContainerNode*
|
| if (m_needsLoaderURIUpdate) {
|
| m_imageLoader.updateFromElementIgnoringPreviousError();
|
| m_needsLoaderURIUpdate = false;
|
| + } else {
|
| + // A previous loader update may have failed to actually fetch the image if the document
|
| + // was inactive. In that case, force a re-update (but don't clear previous errors).
|
| + if (!m_imageLoader.image())
|
| + m_imageLoader.updateFromElement();
|
| }
|
|
|
| return InsertionDone;
|
|
|