Index: content/browser/plugin_data_remover_impl.cc |
diff --git a/content/browser/plugin_data_remover_impl.cc b/content/browser/plugin_data_remover_impl.cc |
index 7981453ed28d5d3f61efa8f4023cd72a93c72d19..ae55fd9ee1d77a8eff57539be75407c03de2d24a 100644 |
--- a/content/browser/plugin_data_remover_impl.cc |
+++ b/content/browser/plugin_data_remover_impl.cc |
@@ -17,6 +17,7 @@ |
#include "content/common/plugin_messages.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/pepper_plugin_info.h" |
#include "ppapi/proxy/ppapi_messages.h" |
#include "webkit/plugins/npapi/plugin_group.h" |
@@ -67,7 +68,9 @@ class PluginDataRemoverImpl::Context |
begin_time_(begin_time), |
is_removing_(false), |
browser_context_path_(browser_context->GetPath()), |
- resource_context_(browser_context->GetResourceContext()), |
+ resource_context_( |
+ content::BrowserContext::GetDefaultStoragePartition(browser_context)-> |
+ GetResourceContext()), |
channel_(NULL) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
} |