| Index: content/shell/browser/shell_devtools_frontend.cc
|
| diff --git a/content/shell/browser/shell_devtools_frontend.cc b/content/shell/browser/shell_devtools_frontend.cc
|
| index 9930db9b98d4949105d5de10c8e51782132d13c5..7f75b8f540a2b8e5889b1b2d8d6d1698fcc83fb8 100644
|
| --- a/content/shell/browser/shell_devtools_frontend.cc
|
| +++ b/content/shell/browser/shell_devtools_frontend.cc
|
| @@ -18,7 +18,6 @@
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/render_frame_host.h"
|
| #include "content/public/browser/render_view_host.h"
|
| -#include "content/public/browser/storage_partition.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/common/content_client.h"
|
| #include "content/shell/browser/shell.h"
|
| @@ -228,10 +227,8 @@
|
| net::URLFetcher* fetcher =
|
| net::URLFetcher::Create(gurl, net::URLFetcher::GET, this).release();
|
| pending_requests_[fetcher] = request_id;
|
| - fetcher->SetRequestContext(
|
| - BrowserContext::GetDefaultStoragePartition(
|
| - web_contents()->GetBrowserContext())->
|
| - GetURLRequestContext());
|
| + fetcher->SetRequestContext(web_contents()->GetBrowserContext()->
|
| + GetRequestContext());
|
| fetcher->SetExtraRequestHeaders(headers);
|
| fetcher->SaveResponseWithWriter(
|
| std::unique_ptr<net::URLFetcherResponseWriter>(
|
|
|