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

Unified Diff: Source/core/html/HTMLOptGroupElement.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/HTMLOptGroupElement.cpp
diff --git a/Source/core/html/HTMLOptGroupElement.cpp b/Source/core/html/HTMLOptGroupElement.cpp
index e7823e2a313eca980bb9a817333e4c19d098986a..75880615cb27e2cfccf60371dfb12db7fa77d8da 100644
--- a/Source/core/html/HTMLOptGroupElement.cpp
+++ b/Source/core/html/HTMLOptGroupElement.cpp
@@ -89,9 +89,9 @@ void HTMLOptGroupElement::recalcSelectOptions()
toHTMLSelectElement(select)->setRecalcListItems();
}
-void HTMLOptGroupElement::attach(const AttachContext& context)
+void HTMLOptGroupElement::createRenderTree(const AttachContext& context)
{
- HTMLElement::attach(context);
+ HTMLElement::createRenderTree(context);
// If after attaching nothing called styleForRenderer() on this node we
// manually cache the value. This happens if our parent doesn't have a
// renderer like <optgroup> or if it doesn't allow children like <select>.
@@ -99,10 +99,10 @@ void HTMLOptGroupElement::attach(const AttachContext& context)
updateNonRenderStyle();
}
-void HTMLOptGroupElement::detach(const AttachContext& context)
+void HTMLOptGroupElement::destroyRenderTree(const AttachContext& context)
{
m_style.clear();
- HTMLElement::detach(context);
+ HTMLElement::destroyRenderTree(context);
}
void HTMLOptGroupElement::updateNonRenderStyle()

Powered by Google App Engine
This is Rietveld 408576698