Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Unified Diff: third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp

Issue 2567913002: Rename ActiveDOMObject to SuspendableObject (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp
diff --git a/third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp b/third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp
index b9ca7065fb3fd1690ff0497a598261f39b7bb360..521ec13b2d7362ce6b76de37e5b9ea24bc922a48 100644
--- a/third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp
+++ b/third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp
@@ -148,7 +148,7 @@ const AtomicString& SpeechRecognition::interfaceName() const {
}
ExecutionContext* SpeechRecognition::getExecutionContext() const {
- return ActiveDOMObject::getExecutionContext();
+ return SuspendableObject::getExecutionContext();
}
void SpeechRecognition::contextDestroyed() {
@@ -163,7 +163,7 @@ bool SpeechRecognition::hasPendingActivity() const {
SpeechRecognition::SpeechRecognition(Page* page, ExecutionContext* context)
: ActiveScriptWrappable(this),
- ActiveDOMObject(context),
+ SuspendableObject(context),
m_grammars(SpeechGrammarList::create()), // FIXME: The spec is not clear
// on the default value for the
// grammars attribute.
@@ -186,7 +186,7 @@ DEFINE_TRACE(SpeechRecognition) {
visitor->trace(m_controller);
visitor->trace(m_finalResults);
EventTargetWithInlineData::trace(visitor);
- ActiveDOMObject::trace(visitor);
+ SuspendableObject::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698