Index: chrome/browser/chromeos/login/profile_auth_data_unittest.cc |
diff --git a/chrome/browser/chromeos/login/profile_auth_data_unittest.cc b/chrome/browser/chromeos/login/profile_auth_data_unittest.cc |
index 2de25a14d7f34d093f6ab866006ed318dd1bb1d1..9dd12a59c2d9069aa07c3785b08530dddc9e4d84 100644 |
--- a/chrome/browser/chromeos/login/profile_auth_data_unittest.cc |
+++ b/chrome/browser/chromeos/login/profile_auth_data_unittest.cc |
@@ -18,7 +18,6 @@ |
#include "base/time/time.h" |
#include "chrome/test/base/testing_profile.h" |
#include "content/public/browser/browser_context.h" |
-#include "content/public/browser/storage_partition.h" |
#include "content/public/test/test_browser_thread_bundle.h" |
#include "net/cookies/canonical_cookie.h" |
#include "net/cookies/cookie_constants.h" |
@@ -240,8 +239,7 @@ |
net::URLRequestContext* ProfileAuthDataTest::GetRequestContext( |
content::BrowserContext* browser_context) { |
- return content::BrowserContext::GetDefaultStoragePartition(browser_context)-> |
- GetURLRequestContext()->GetURLRequestContext(); |
+ return browser_context->GetRequestContext()->GetURLRequestContext(); |
} |
net::HttpAuthCache* ProfileAuthDataTest::GetProxyAuth( |