| Index: Source/core/html/HTMLPlugInElement.cpp
|
| diff --git a/Source/core/html/HTMLPlugInElement.cpp b/Source/core/html/HTMLPlugInElement.cpp
|
| index 9962a4eb0b0fc3d559e756ca5517fdb919a4e6e2..301c502fee18c385a0e92bb2b27deb4d24ab2379 100644
|
| --- a/Source/core/html/HTMLPlugInElement.cpp
|
| +++ b/Source/core/html/HTMLPlugInElement.cpp
|
| @@ -82,6 +82,12 @@ HTMLPlugInElement::~HTMLPlugInElement()
|
| }
|
| }
|
|
|
| +void HTMLPlugInElement::trace(Visitor* visitor)
|
| +{
|
| + visitor->trace(m_imageLoader);
|
| + HTMLFrameOwnerElement::trace(visitor);
|
| +}
|
| +
|
| bool HTMLPlugInElement::canProcessDrag() const
|
| {
|
| return pluginWidget() && pluginWidget()->isPluginView() && toPluginView(pluginWidget())->canProcessDrag();
|
| @@ -120,7 +126,7 @@ void HTMLPlugInElement::attach(const AttachContext& context)
|
|
|
| if (isImageType()) {
|
| if (!m_imageLoader)
|
| - m_imageLoader = adoptPtr(new HTMLImageLoader(this));
|
| + m_imageLoader = HTMLImageLoader::create(this);
|
| m_imageLoader->updateFromElement();
|
| } else if (needsWidgetUpdate()
|
| && renderEmbeddedObject()
|
|
|