| Index: Source/core/html/shadow/TextControlInnerElements.cpp
|
| diff --git a/Source/core/html/shadow/TextControlInnerElements.cpp b/Source/core/html/shadow/TextControlInnerElements.cpp
|
| index 811f9944be3cb477471f9ecc2557974afb366164..9f2897a7c8e82a72c445e1befb07b4141ec86425 100644
|
| --- a/Source/core/html/shadow/TextControlInnerElements.cpp
|
| +++ b/Source/core/html/shadow/TextControlInnerElements.cpp
|
| @@ -192,13 +192,13 @@ const AtomicString& SearchFieldCancelButtonElement::shadowPseudoId() const
|
| return pseudoId;
|
| }
|
|
|
| -void SearchFieldCancelButtonElement::detach()
|
| +void SearchFieldCancelButtonElement::detach(const AttachContext& context)
|
| {
|
| if (m_capturing) {
|
| if (Frame* frame = document()->frame())
|
| frame->eventHandler()->setCapturingMouseEventsNode(0);
|
| }
|
| - HTMLDivElement::detach();
|
| + HTMLDivElement::detach(context);
|
| }
|
|
|
|
|
| @@ -401,15 +401,15 @@ void InputFieldSpeechButtonElement::setRecognitionResult(int, const SpeechInputR
|
| renderer()->repaint();
|
| }
|
|
|
| -void InputFieldSpeechButtonElement::attach()
|
| +void InputFieldSpeechButtonElement::attach(const AttachContext& context)
|
| {
|
| ASSERT(!m_listenerId);
|
| if (SpeechInput* input = SpeechInput::from(document()->page()))
|
| m_listenerId = input->registerListener(this);
|
| - HTMLDivElement::attach();
|
| + HTMLDivElement::attach(context);
|
| }
|
|
|
| -void InputFieldSpeechButtonElement::detach()
|
| +void InputFieldSpeechButtonElement::detach(const AttachContext& context)
|
| {
|
| if (m_capturing) {
|
| if (Frame* frame = document()->frame())
|
| @@ -423,7 +423,7 @@ void InputFieldSpeechButtonElement::detach()
|
| m_listenerId = 0;
|
| }
|
|
|
| - HTMLDivElement::detach();
|
| + HTMLDivElement::detach(context);
|
| }
|
|
|
| void InputFieldSpeechButtonElement::startSpeechInput()
|
|
|