| Index: chrome/browser/spellchecker/spelling_service_client.cc
|
| diff --git a/chrome/browser/spellchecker/spelling_service_client.cc b/chrome/browser/spellchecker/spelling_service_client.cc
|
| index 64899a9c067ad4efdabe2f280fd5a23a2a8cb2d2..b8ec824f7f7b17e39a4d8df2a4f604c561f2318c 100644
|
| --- a/chrome/browser/spellchecker/spelling_service_client.cc
|
| +++ b/chrome/browser/spellchecker/spelling_service_client.cc
|
| @@ -23,7 +23,6 @@
|
| #include "components/prefs/pref_service.h"
|
| #include "components/user_prefs/user_prefs.h"
|
| #include "content/public/browser/browser_context.h"
|
| -#include "content/public/browser/storage_partition.h"
|
| #include "google_apis/google_api_keys.h"
|
| #include "net/base/load_flags.h"
|
| #include "net/url_request/url_fetcher.h"
|
| @@ -111,9 +110,7 @@
|
| net::URLFetcher* fetcher = CreateURLFetcher(url).release();
|
| data_use_measurement::DataUseUserData::AttachToFetcher(
|
| fetcher, data_use_measurement::DataUseUserData::SPELL_CHECKER);
|
| - fetcher->SetRequestContext(
|
| - content::BrowserContext::GetDefaultStoragePartition(context)->
|
| - GetURLRequestContext());
|
| + fetcher->SetRequestContext(context->GetRequestContext());
|
| fetcher->SetUploadData("application/json", request);
|
| fetcher->SetLoadFlags(
|
| net::LOAD_DO_NOT_SEND_COOKIES | net::LOAD_DO_NOT_SAVE_COOKIES);
|
|
|