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

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

Issue 2629593004: Disambiguate LifecycleObserver::contextDestroyed (Closed)
Patch Set: temp Created 3 years, 11 months 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 feb23df68e252b01084b6da44ed6e050a44dde6a..6a8eebad12b26e54c52f03758233b9813f63d17c 100644
--- a/third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp
+++ b/third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp
@@ -148,7 +148,7 @@ ExecutionContext* SpeechRecognition::getExecutionContext() const {
return ContextLifecycleObserver::getExecutionContext();
}
-void SpeechRecognition::contextDestroyed() {
+void SpeechRecognition::contextDestroyed(ExecutionContext*) {
m_controller = nullptr;
if (hasPendingActivity())
abort();

Powered by Google App Engine
This is Rietveld 408576698