| Index: content/browser/resource_context_impl.cc
|
| diff --git a/content/browser/resource_context_impl.cc b/content/browser/resource_context_impl.cc
|
| index e59692f3aaf417d5c8f56ad4b0c96c87e1ad1949..c5b48693b2290f82f72726deda3f746c6a5e1a05 100644
|
| --- a/content/browser/resource_context_impl.cc
|
| +++ b/content/browser/resource_context_impl.cc
|
| @@ -18,6 +18,7 @@
|
| #include "content/browser/tcmalloc_internals_request_job.h"
|
| #include "content/public/browser/browser_context.h"
|
| #include "content/public/browser/browser_thread.h"
|
| +#include "content/public/browser/storage_partition.h"
|
| #include "content/public/common/url_constants.h"
|
| #include "net/url_request/url_request.h"
|
| #include "net/url_request/url_request_context.h"
|
| @@ -248,7 +249,9 @@ HostZoomMap* GetHostZoomMapForResourceContext(ResourceContext* context) {
|
| }
|
|
|
| void InitializeResourceContext(BrowserContext* browser_context) {
|
| - ResourceContext* resource_context = browser_context->GetResourceContext();
|
| + ResourceContext* resource_context =
|
| + BrowserContext::GetDefaultStoragePartition(browser_context)->
|
| + GetResourceContext();
|
| DCHECK(!resource_context->GetUserData(kIndexedDBContextKeyName));
|
|
|
| resource_context->SetUserData(
|
|
|