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

Unified Diff: third_party/WebKit/Source/modules/geolocation/Geolocation.cpp

Issue 2588663002: Remove unnecessary LifecycleObserver::clearContext (Closed)
Patch Set: Created 4 years 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/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 {

Powered by Google App Engine
This is Rietveld 408576698