Index: content/browser/geolocation/arbitrator_dependency_factory.cc |
diff --git a/content/browser/geolocation/arbitrator_dependency_factory.cc b/content/browser/geolocation/arbitrator_dependency_factory.cc |
index 547227a798112e82c76093fa0b54c216912abeb0..ada618d6ff9d25bc82e1784ebc9ecd689b2a8278 100644 |
--- a/content/browser/geolocation/arbitrator_dependency_factory.cc |
+++ b/content/browser/geolocation/arbitrator_dependency_factory.cc |
@@ -4,9 +4,10 @@ |
#include "content/browser/geolocation/arbitrator_dependency_factory.h" |
-#include "chrome/browser/profiles/profile.h" |
+#include "content/browser/content_browser_client.h" |
#include "content/browser/geolocation/access_token_store.h" |
#include "content/browser/geolocation/location_provider.h" |
+#include "content/common/content_client.h" |
// GeolocationArbitratorDependencyFactory |
GeolocationArbitratorDependencyFactory:: |
@@ -16,7 +17,9 @@ GeolocationArbitratorDependencyFactory:: |
// DefaultGeolocationArbitratorDependencyFactory |
net::URLRequestContextGetter* |
DefaultGeolocationArbitratorDependencyFactory::GetContextGetter() { |
- return Profile::Deprecated::GetDefaultRequestContext(); |
+ // Deprecated; see http://crbug.com/92363 |
+ return content::GetContentClient()->browser()-> |
+ GetDefaultRequestContextDeprecatedCrBug64339(); |
} |
DefaultGeolocationArbitratorDependencyFactory::GetTimeNow |