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

Unified Diff: Source/core/svg/SVGImageElement.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/svg/SVGImageElement.cpp
diff --git a/Source/core/svg/SVGImageElement.cpp b/Source/core/svg/SVGImageElement.cpp
index d2ce3c0db59d48b30af873a960988f2d968b09a5..8c0aee7a6cd2ec632878016167d0409d6953a8bb 100644
--- a/Source/core/svg/SVGImageElement.cpp
+++ b/Source/core/svg/SVGImageElement.cpp
@@ -203,9 +203,9 @@ bool SVGImageElement::haveLoadedRequiredResources()
return !externalResourcesRequiredBaseValue() || !m_imageLoader.hasPendingActivity();
}
-void SVGImageElement::attach(const AttachContext& context)
+void SVGImageElement::createRenderTree(const AttachContext& context)
{
- SVGGraphicsElement::attach(context);
+ SVGGraphicsElement::createRenderTree(context);
if (RenderSVGImage* imageObj = toRenderSVGImage(renderer())) {
if (imageObj->imageResource()->hasImage())

Powered by Google App Engine
This is Rietveld 408576698