Index: chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc |
diff --git a/chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc b/chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc |
index afb213cf34353c11985c078dda19866207ee32e1..8df9d7f51ffed364eaa8c6b6556027916d709dc5 100644 |
--- a/chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc |
+++ b/chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc |
@@ -26,8 +26,6 @@ void ChromeGeolocationPermissionContextAndroid::DecidePermission( |
const GURL& requesting_frame, |
const GURL& embedder, |
base::Callback<void(bool)> callback) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
- |
// Check to see if the feature in its entirety has been disabled. |
// This must happen before other services (e.g. tabs, extensions) |
// get an opportunity to allow the geolocation request. |
@@ -46,7 +44,6 @@ void ChromeGeolocationPermissionContextAndroid::PermissionDecided( |
const GURL& embedder, |
base::Callback<void(bool)> callback, |
bool allowed) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
// If Google Apps Location setting is turned off then we ignore |
// the 'allow' website setting for this site and instead show |
// the infobar to go back to the 'settings' to turn it back on. |