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

Unified Diff: third_party/WebKit/Source/modules/mediastream/UserMediaRequest.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/mediastream/UserMediaRequest.cpp
diff --git a/third_party/WebKit/Source/modules/mediastream/UserMediaRequest.cpp b/third_party/WebKit/Source/modules/mediastream/UserMediaRequest.cpp
index d37407485d3e953ee0967866bb3806f7b5b024c4..ffdfeec3bab3a4a89db51f7a40b44e1031e32b7b 100644
--- a/third_party/WebKit/Source/modules/mediastream/UserMediaRequest.cpp
+++ b/third_party/WebKit/Source/modules/mediastream/UserMediaRequest.cpp
@@ -223,13 +223,11 @@ void UserMediaRequest::failUASpecific(const String& name,
NavigatorUserMediaError::create(name, message, constraintName));
}
-void UserMediaRequest::contextDestroyed() {
+void UserMediaRequest::contextDestroyed(ExecutionContext*) {
if (m_controller) {
m_controller->cancelUserMediaRequest(this);
m_controller = nullptr;
}
-
- ContextLifecycleObserver::contextDestroyed();
}
DEFINE_TRACE(UserMediaRequest) {

Powered by Google App Engine
This is Rietveld 408576698