| Index: Source/core/html/shadow/TextControlInnerElements.cpp
|
| diff --git a/Source/core/html/shadow/TextControlInnerElements.cpp b/Source/core/html/shadow/TextControlInnerElements.cpp
|
| index fded6f732ec73fb64cc34f7af3c4bb149bdccda0..9754a7c593236437a6aa4841b43307172fb20d89 100644
|
| --- a/Source/core/html/shadow/TextControlInnerElements.cpp
|
| +++ b/Source/core/html/shadow/TextControlInnerElements.cpp
|
| @@ -264,12 +264,14 @@ inline InputFieldSpeechButtonElement::InputFieldSpeechButtonElement(Document& do
|
|
|
| InputFieldSpeechButtonElement::~InputFieldSpeechButtonElement()
|
| {
|
| +#if !ENABLE(OILPAN)
|
| SpeechInput* speech = speechInput();
|
| if (speech && m_listenerId) { // Could be null when page is unloading.
|
| if (m_state != Idle)
|
| speech->cancelRecognition(m_listenerId);
|
| speech->unregisterListener(m_listenerId);
|
| }
|
| +#endif
|
| }
|
|
|
| PassRefPtr<InputFieldSpeechButtonElement> InputFieldSpeechButtonElement::create(Document& document)
|
|
|