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

Unified Diff: Source/core/dom/PseudoElement.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/dom/PseudoElement.cpp
diff --git a/Source/core/dom/PseudoElement.cpp b/Source/core/dom/PseudoElement.cpp
index 9c10bd0e0b02fe84af7c81e9ff9128f4b1306437..ce8a851ed790ac5c6f833d0a3a42f4395f3182f0 100644
--- a/Source/core/dom/PseudoElement.cpp
+++ b/Source/core/dom/PseudoElement.cpp
@@ -67,11 +67,11 @@ PassRefPtr<RenderStyle> PseudoElement::customStyleForRenderer()
return parentOrShadowHostElement()->renderer()->getCachedPseudoStyle(m_pseudoId);
}
-void PseudoElement::attach(const AttachContext& context)
+void PseudoElement::createRenderTree(const AttachContext& context)
{
ASSERT(!renderer());
- Element::attach(context);
+ Element::createRenderTree(context);
RenderObject* renderer = this->renderer();
if (!renderer)

Powered by Google App Engine
This is Rietveld 408576698