OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * * Redistributions of source code must retain the above copyright | 7 * * Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * * Redistributions in binary form must reproduce the above copyright | 9 * * Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 void SpeechRecognition::contextDestroyed() | 198 void SpeechRecognition::contextDestroyed() |
199 { | 199 { |
200 m_controller = nullptr; | 200 m_controller = nullptr; |
201 PageLifecycleObserver::contextDestroyed(); | 201 PageLifecycleObserver::contextDestroyed(); |
202 } | 202 } |
203 | 203 |
204 DEFINE_TRACE(SpeechRecognition) | 204 DEFINE_TRACE(SpeechRecognition) |
205 { | 205 { |
206 visitor->trace(m_grammars); | 206 visitor->trace(m_grammars); |
207 visitor->trace(m_audioTrack); | 207 visitor->trace(m_audioTrack); |
208 #if ENABLE(OILPAN) | |
209 visitor->trace(m_controller); | 208 visitor->trace(m_controller); |
210 #endif | |
211 visitor->trace(m_finalResults); | 209 visitor->trace(m_finalResults); |
212 RefCountedGarbageCollectedEventTargetWithInlineData<SpeechRecognition>::trac
e(visitor); | 210 RefCountedGarbageCollectedEventTargetWithInlineData<SpeechRecognition>::trac
e(visitor); |
213 PageLifecycleObserver::trace(visitor); | 211 PageLifecycleObserver::trace(visitor); |
214 ActiveDOMObject::trace(visitor); | 212 ActiveDOMObject::trace(visitor); |
215 } | 213 } |
216 | 214 |
217 } // namespace blink | 215 } // namespace blink |
OLD | NEW |