| Index: Source/core/svg/SVGImageElement.cpp
|
| diff --git a/Source/core/svg/SVGImageElement.cpp b/Source/core/svg/SVGImageElement.cpp
|
| index 4e1d852d8775e4f590f50b1882d82aa06c3930b2..7c4b83e19a64b5a967cd873d22ff4dd8d99d3417 100644
|
| --- a/Source/core/svg/SVGImageElement.cpp
|
| +++ b/Source/core/svg/SVGImageElement.cpp
|
| @@ -138,7 +138,7 @@ void SVGImageElement::svgAttributeChanged(const QualifiedName& attrName)
|
| if (SVGURIReference::isKnownAttribute(attrName)) {
|
| SVGElement::InvalidationGuard invalidationGuard(this);
|
| if (inDocument())
|
| - imageLoader().updateFromElement(ImageLoader::UpdateIgnorePreviousError);
|
| + imageLoader().updateFromElement(0, ImageLoader::UpdateIgnorePreviousError);
|
| else
|
| m_needsLoaderURIUpdate = true;
|
| return;
|
| @@ -186,13 +186,13 @@ Node::InsertionNotificationRequest SVGImageElement::insertedInto(ContainerNode*
|
| // We can only resolve base URIs properly after tree insertion - hence, URI mutations while
|
| // detached are deferred until this point.
|
| if (m_needsLoaderURIUpdate) {
|
| - imageLoader().updateFromElement(ImageLoader::UpdateIgnorePreviousError);
|
| + imageLoader().updateFromElement(0, ImageLoader::UpdateIgnorePreviousError);
|
| 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 (!imageLoader().image())
|
| - imageLoader().updateFromElement();
|
| + imageLoader().updateFromElement(0);
|
| }
|
|
|
| return InsertionDone;
|
|
|