Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1146)

Unified Diff: Source/core/html/HTMLInputElement.cpp

Issue 320253002: Oilpan: Prepare to move ImageLoader and its subclasses to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLInputElement.cpp
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
index 717d8d43f9997fb12dab13d87ed7c98d243c1f97..93bdfa8f13651e06e5f19bd5ba564441e914b327 100644
--- a/Source/core/html/HTMLInputElement.cpp
+++ b/Source/core/html/HTMLInputElement.cpp
@@ -142,13 +142,14 @@ void HTMLInputElement::trace(Visitor* visitor)
visitor->trace(m_inputType);
visitor->trace(m_inputTypeView);
visitor->trace(m_listAttributeTargetObserver);
+ visitor->trace(m_imageLoader);
HTMLTextFormControlElement::trace(visitor);
}
HTMLImageLoader* HTMLInputElement::imageLoader()
{
if (!m_imageLoader)
- m_imageLoader = adoptPtr(new HTMLImageLoader(this));
+ m_imageLoader = HTMLImageLoader::create(this);
return m_imageLoader.get();
}

Powered by Google App Engine
This is Rietveld 408576698