Index: third_party/WebKit/Source/modules/geolocation/Geolocation.cpp |
diff --git a/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp b/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp |
index 88d7796178f4275fc857df3a62308029eb2ec34c..49d7723410676fc67692013404333f585f9f0c01 100644 |
--- a/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp |
+++ b/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp |
@@ -121,8 +121,6 @@ void Geolocation::contextDestroyed() { |
m_geolocationPermission = PermissionDenied; |
m_pendingForPermissionNotifiers.clear(); |
m_lastPosition = nullptr; |
- ContextLifecycleObserver::clearContext(); |
- PageVisibilityObserver::clearContext(); |
} |
void Geolocation::recordOriginTypeAccess() const { |