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) |
wibling-chromium
2014/04/24 14:43:06
Small nit after seeing a lot of these #if !ENABLE(
Mads Ager (chromium)
2014/04/25 10:58:25
Yeah, on the other hand there are complaints that
|
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) |