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

Unified Diff: third_party/WebKit/Source/modules/sensor/Sensor.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/sensor/Sensor.cpp
diff --git a/third_party/WebKit/Source/modules/sensor/Sensor.cpp b/third_party/WebKit/Source/modules/sensor/Sensor.cpp
index 85d932d57da0033c2247de59924110691952fca0..b4ad6bab959116b20a2fa6d1c1a0eae5a4f7bc14 100644
--- a/third_party/WebKit/Source/modules/sensor/Sensor.cpp
+++ b/third_party/WebKit/Source/modules/sensor/Sensor.cpp
@@ -169,7 +169,7 @@ void Sensor::initSensorProxyIfNeeded() {
}
}
-void Sensor::contextDestroyed() {
+void Sensor::contextDestroyed(ExecutionContext*) {
if (m_state == Sensor::SensorState::Activated ||
m_state == Sensor::SensorState::Activating)
stopListening();

Powered by Google App Engine
This is Rietveld 408576698