Index: chromecast/browser/geolocation/cast_access_token_store.cc |
diff --git a/chromecast/browser/geolocation/cast_access_token_store.cc b/chromecast/browser/geolocation/cast_access_token_store.cc |
index 64a182a2c0a2a123b2631fa7edcdc46e0862d39f..32f944d0099905a494373e5f7c514f8da2cfc58f 100644 |
--- a/chromecast/browser/geolocation/cast_access_token_store.cc |
+++ b/chromecast/browser/geolocation/cast_access_token_store.cc |
@@ -8,7 +8,6 @@ |
#include "chromecast/browser/cast_browser_context.h" |
#include "chromecast/browser/cast_content_browser_client.h" |
#include "content/public/browser/browser_thread.h" |
-#include "content/public/browser/storage_partition.h" |
#include "content/public/common/content_client.h" |
namespace chromecast { |
@@ -23,8 +22,7 @@ |
} |
void CastAccessTokenStore::GetRequestContextGetterOnUIThread() { |
- request_context_ = content::BrowserContext::GetDefaultStoragePartition( |
- browser_context_)->GetURLRequestContext(); |
+ request_context_ = browser_context_->GetRequestContext(); |
} |
void CastAccessTokenStore::RespondOnOriginatingThread() { |