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

Unified Diff: third_party/WebKit/Source/modules/imagecapture/ImageCapture.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/imagecapture/ImageCapture.cpp
diff --git a/third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp b/third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp
index bdd04c2599566ef2a18ad4061b270d7638a5656b..c1bb1e864f1eaf65345294e409ecc65c30b038e4 100644
--- a/third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp
+++ b/third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp
@@ -90,7 +90,7 @@ bool ImageCapture::hasPendingActivity() const {
return getExecutionContext() && hasEventListeners();
}
-void ImageCapture::contextDestroyed() {
+void ImageCapture::contextDestroyed(ExecutionContext*) {
removeAllEventListeners();
m_serviceRequests.clear();
DCHECK(!hasEventListeners());

Powered by Google App Engine
This is Rietveld 408576698