| Index: content/public/test/browser_test_utils.cc
|
| diff --git a/content/public/test/browser_test_utils.cc b/content/public/test/browser_test_utils.cc
|
| index 72748e75eb6f54d24e0cb8e666c280c6dbb46f7d..721e0d1a19c24eb6e8a79a03c3ea99a9b287bca9 100644
|
| --- a/content/public/test/browser_test_utils.cc
|
| +++ b/content/public/test/browser_test_utils.cc
|
| @@ -39,7 +39,6 @@
|
| #include "content/public/browser/render_frame_host.h"
|
| #include "content/public/browser/render_process_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/test/test_navigation_observer.h"
|
| #include "content/public/test/test_utils.h"
|
| @@ -782,8 +781,7 @@
|
| std::string cookies;
|
| base::WaitableEvent event(true, false);
|
| net::URLRequestContextGetter* context_getter =
|
| - BrowserContext::GetDefaultStoragePartition(browser_context)->
|
| - GetURLRequestContext();
|
| + browser_context->GetRequestContext();
|
|
|
| BrowserThread::PostTask(
|
| BrowserThread::IO, FROM_HERE,
|
| @@ -799,8 +797,7 @@
|
| bool result = false;
|
| base::WaitableEvent event(true, false);
|
| net::URLRequestContextGetter* context_getter =
|
| - BrowserContext::GetDefaultStoragePartition(browser_context)->
|
| - GetURLRequestContext();
|
| + browser_context->GetRequestContext();
|
|
|
| BrowserThread::PostTask(
|
| BrowserThread::IO, FROM_HERE,
|
|
|