Index: Source/core/html/shadow/TextControlInnerElements.h |
diff --git a/Source/core/html/shadow/TextControlInnerElements.h b/Source/core/html/shadow/TextControlInnerElements.h |
index 48e689414268ce1f9d5657a4525a9534df431ada..534c4495b906f1bc07a026867cdc5ca68c12519a 100644 |
--- a/Source/core/html/shadow/TextControlInnerElements.h |
+++ b/Source/core/html/shadow/TextControlInnerElements.h |
@@ -101,6 +101,7 @@ private: |
class InputFieldSpeechButtonElement FINAL |
: public HTMLDivElement, |
public SpeechInputListener { |
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(InputFieldSpeechButtonElement); |
public: |
enum SpeechInputState { |
Idle, |
@@ -124,6 +125,8 @@ public: |
virtual void didCompleteRecognition(int) OVERRIDE; |
virtual void setRecognitionResult(int, const SpeechInputResultArray&) OVERRIDE; |
+ virtual void trace(Visitor*) OVERRIDE; |
+ |
private: |
InputFieldSpeechButtonElement(Document&); |
SpeechInput* speechInput(); |
@@ -134,7 +137,7 @@ private: |
bool m_capturing; |
SpeechInputState m_state; |
int m_listenerId; |
- WillBePersistentSpeechInputResultArray m_results; |
+ SpeechInputResultArray m_results; |
}; |
DEFINE_TYPE_CASTS(InputFieldSpeechButtonElement, Element, element, element->isInputFieldSpeechButtonElement(), element.isInputFieldSpeechButtonElement()); |