Index: Source/core/html/HTMLEmbedElement.cpp |
diff --git a/Source/core/html/HTMLEmbedElement.cpp b/Source/core/html/HTMLEmbedElement.cpp |
index 783c7ada94efbbbe82548ba9a295830b403f3c71..f5ddf5932ef2742d978636c897a3b8ef28c41b64 100644 |
--- a/Source/core/html/HTMLEmbedElement.cpp |
+++ b/Source/core/html/HTMLEmbedElement.cpp |
@@ -102,7 +102,7 @@ void HTMLEmbedElement::parseAttribute(const QualifiedName& name, const AtomicStr |
m_url = stripLeadingAndTrailingHTMLSpaces(value); |
if (renderer() && isImageType()) { |
if (!m_imageLoader) |
- m_imageLoader = adoptPtr(new HTMLImageLoader(this)); |
+ m_imageLoader = HTMLImageLoader::create(this); |
m_imageLoader->updateFromElementIgnoringPreviousError(); |
} |
} else { |