| Index: Source/core/html/shadow/TextControlInnerElements.cpp
|
| diff --git a/Source/core/html/shadow/TextControlInnerElements.cpp b/Source/core/html/shadow/TextControlInnerElements.cpp
|
| index 64a8f7529ee5b223d8100e2d7a5c3a5d40a81353..9173e8688324d5d6f02d4be61a65f002fe948c4f 100644
|
| --- a/Source/core/html/shadow/TextControlInnerElements.cpp
|
| +++ b/Source/core/html/shadow/TextControlInnerElements.cpp
|
| @@ -209,13 +209,13 @@ PassRefPtr<SearchFieldCancelButtonElement> SearchFieldCancelButtonElement::creat
|
| return element.release();
|
| }
|
|
|
| -void SearchFieldCancelButtonElement::detach(const AttachContext& context)
|
| +void SearchFieldCancelButtonElement::destroyRenderTree(const AttachContext& context)
|
| {
|
| if (m_capturing) {
|
| if (Frame* frame = document().frame())
|
| frame->eventHandler()->setCapturingMouseEventsNode(0);
|
| }
|
| - HTMLDivElement::detach(context);
|
| + HTMLDivElement::destroyRenderTree(context);
|
| }
|
|
|
|
|
| @@ -421,15 +421,15 @@ void InputFieldSpeechButtonElement::setRecognitionResult(int, const SpeechInputR
|
| renderer()->repaint();
|
| }
|
|
|
| -void InputFieldSpeechButtonElement::attach(const AttachContext& context)
|
| +void InputFieldSpeechButtonElement::createRenderTree(const AttachContext& context)
|
| {
|
| ASSERT(!m_listenerId);
|
| if (SpeechInput* input = SpeechInput::from(document().page()))
|
| m_listenerId = input->registerListener(this);
|
| - HTMLDivElement::attach(context);
|
| + HTMLDivElement::createRenderTree(context);
|
| }
|
|
|
| -void InputFieldSpeechButtonElement::detach(const AttachContext& context)
|
| +void InputFieldSpeechButtonElement::destroyRenderTree(const AttachContext& context)
|
| {
|
| if (m_capturing) {
|
| if (Frame* frame = document().frame())
|
| @@ -443,7 +443,7 @@ void InputFieldSpeechButtonElement::detach(const AttachContext& context)
|
| m_listenerId = 0;
|
| }
|
|
|
| - HTMLDivElement::detach(context);
|
| + HTMLDivElement::destroyRenderTree(context);
|
| }
|
|
|
| void InputFieldSpeechButtonElement::startSpeechInput()
|
|
|