| 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()
|
|
|