Index: Source/core/svg/SVGFEImageElement.cpp |
diff --git a/Source/core/svg/SVGFEImageElement.cpp b/Source/core/svg/SVGFEImageElement.cpp |
index 652dad3dc0a28ec7294a87ae3fdd3d2bd377b301..caf7f0260e3507bb9cea7ed788dc7ee5b96bc366 100644 |
--- a/Source/core/svg/SVGFEImageElement.cpp |
+++ b/Source/core/svg/SVGFEImageElement.cpp |
@@ -92,7 +92,7 @@ void SVGFEImageElement::buildPendingResource() |
return; |
String id; |
- Element* target = SVGURIReference::targetElementFromIRIString(hrefCurrentValue(), &document(), &id); |
+ Element* target = SVGURIReference::targetElementFromIRIString(hrefCurrentValue(), document(), &id); |
if (!target) { |
if (id.isEmpty()) |
fetchImageResource(); |
@@ -200,7 +200,7 @@ PassRefPtr<FilterEffect> SVGFEImageElement::build(SVGFilterBuilder*, Filter* fil |
{ |
if (m_cachedImage) |
return FEImage::createWithImage(filter, m_cachedImage->imageForRenderer(renderer()), preserveAspectRatioCurrentValue()); |
- return FEImage::createWithIRIReference(filter, &document(), hrefCurrentValue(), preserveAspectRatioCurrentValue()); |
+ return FEImage::createWithIRIReference(filter, document(), hrefCurrentValue(), preserveAspectRatioCurrentValue()); |
} |
void SVGFEImageElement::addSubresourceAttributeURLs(ListHashSet<KURL>& urls) const |