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

Unified Diff: Source/core/html/shadow/SpinButtonElement.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/SpinButtonElement.cpp
diff --git a/Source/core/html/shadow/SpinButtonElement.cpp b/Source/core/html/shadow/SpinButtonElement.cpp
index 7a0fbcd41ea8d3f2d23d0e0c7ac5f91ef3d314a5..fa61d0677dbf247696c685ab46663463c8b7150c 100644
--- a/Source/core/html/shadow/SpinButtonElement.cpp
+++ b/Source/core/html/shadow/SpinButtonElement.cpp
@@ -61,10 +61,10 @@ PassRefPtr<SpinButtonElement> SpinButtonElement::create(Document& document, Spin
return element.release();
}
-void SpinButtonElement::detach(const AttachContext& context)
+void SpinButtonElement::destroyRenderTree(const AttachContext& context)
{
releaseCapture();
- HTMLDivElement::detach(context);
+ HTMLDivElement::destroyRenderTree(context);
}
void SpinButtonElement::defaultEventHandler(Event* event)

Powered by Google App Engine
This is Rietveld 408576698