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

Unified Diff: chrome/browser/geolocation/geolocation_permission_context.cc

Issue 1485973002: Removal of geolocation APIs on insecure origins (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Fix WebView tests Created 5 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: chrome/browser/geolocation/geolocation_permission_context.cc
diff --git a/chrome/browser/geolocation/geolocation_permission_context.cc b/chrome/browser/geolocation/geolocation_permission_context.cc
index bb29c8862dda05a95c2f39cabaf1df8323923df5..848b7560c9e6850e2e7ae2ef814936a32c6d076f 100644
--- a/chrome/browser/geolocation/geolocation_permission_context.cc
+++ b/chrome/browser/geolocation/geolocation_permission_context.cc
@@ -89,5 +89,5 @@ void GeolocationPermissionContext::UpdateTabContext(
}
bool GeolocationPermissionContext::IsRestrictedToSecureOrigins() const {
- return false;
+ return true;
}

Powered by Google App Engine
This is Rietveld 408576698