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

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

Issue 24430002: Rename attach and detach to createRenderTree/destroyRenderTree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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/HTMLImageElement.cpp
diff --git a/Source/core/html/HTMLImageElement.cpp b/Source/core/html/HTMLImageElement.cpp
index 35a98a4bf641bf030e3e9d0ee80bd4f6eb9bb906..dc7f13c6505a47023ed7ae59a54afb93706017f6 100644
--- a/Source/core/html/HTMLImageElement.cpp
+++ b/Source/core/html/HTMLImageElement.cpp
@@ -167,9 +167,9 @@ bool HTMLImageElement::canStartSelection() const
return false;
}
-void HTMLImageElement::attach(const AttachContext& context)
+void HTMLImageElement::createRenderTree(const AttachContext& context)
{
- HTMLElement::attach(context);
+ HTMLElement::createRenderTree(context);
if (renderer() && renderer()->isImage() && !m_imageLoader.hasPendingBeforeLoadEvent()) {
RenderImage* renderImage = toRenderImage(renderer());

Powered by Google App Engine
This is Rietveld 408576698