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

Unified Diff: Source/core/html/shadow/ClearButtonElement.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/shadow/ClearButtonElement.cpp
diff --git a/Source/core/html/shadow/ClearButtonElement.cpp b/Source/core/html/shadow/ClearButtonElement.cpp
index e608999006914c099621570986bb81a15b2a0701..2517bd0ee10c34b24ade886d53553880f4d0e9e7 100644
--- a/Source/core/html/shadow/ClearButtonElement.cpp
+++ b/Source/core/html/shadow/ClearButtonElement.cpp
@@ -51,13 +51,13 @@ PassRefPtr<ClearButtonElement> ClearButtonElement::create(Document& document, Cl
return element.release();
}
-void ClearButtonElement::detach(const AttachContext& context)
+void ClearButtonElement::destroyRenderTree(const AttachContext& context)
{
if (m_capturing) {
if (Frame* frame = document().frame())
frame->eventHandler()->setCapturingMouseEventsNode(0);
}
- HTMLDivElement::detach(context);
+ HTMLDivElement::destroyRenderTree(context);
}
void ClearButtonElement::releaseCapture()

Powered by Google App Engine
This is Rietveld 408576698