Index: content/shell/browser/shell_access_token_store.cc |
diff --git a/content/shell/browser/shell_access_token_store.cc b/content/shell/browser/shell_access_token_store.cc |
index 4945e7c8276c878bb5e7efb40f641419d158eab1..956ae1a4eea3a3dcf977d01b47817fc35e58b00b 100644 |
--- a/content/shell/browser/shell_access_token_store.cc |
+++ b/content/shell/browser/shell_access_token_store.cc |
@@ -8,7 +8,6 @@ |
#include "base/message_loop/message_loop.h" |
#include "base/strings/utf_string_conversions.h" |
#include "content/public/browser/browser_thread.h" |
-#include "content/public/browser/storage_partition.h" |
#include "content/shell/browser/shell_browser_context.h" |
namespace content { |
@@ -37,9 +36,7 @@ |
void ShellAccessTokenStore::GetRequestContextOnUIThread( |
content::ShellBrowserContext* shell_browser_context) { |
- system_request_context_ = |
- BrowserContext::GetDefaultStoragePartition(shell_browser_context)-> |
- GetURLRequestContext(); |
+ system_request_context_ = shell_browser_context->GetRequestContext(); |
} |
void ShellAccessTokenStore::RespondOnOriginatingThread( |