Index: content/public/test/mock_render_process_host.cc |
diff --git a/content/public/test/mock_render_process_host.cc b/content/public/test/mock_render_process_host.cc |
index 7b30a6f985e275be644f3dccc0f1f0d5961a89ad..d98f6e83c2c5dc3e7799260a577827ccbfd90c76 100644 |
--- a/content/public/test/mock_render_process_host.cc |
+++ b/content/public/test/mock_render_process_host.cc |
@@ -13,6 +13,7 @@ |
#include "content/browser/renderer_host/render_view_host_impl.h" |
#include "content/browser/renderer_host/render_widget_host_impl.h" |
#include "content/common/child_process_host_impl.h" |
+#include "content/public/browser/browser_context.h" |
#include "content/public/browser/global_request_id.h" |
#include "content/public/browser/render_widget_host_iterator.h" |
#include "content/public/browser/storage_partition.h" |
@@ -100,7 +101,7 @@ bool MockRenderProcessHost::IsIsolatedGuest() const { |
} |
StoragePartition* MockRenderProcessHost::GetStoragePartition() const { |
- return NULL; |
+ return BrowserContext::GetDefaultStoragePartition(browser_context_); |
} |
void MockRenderProcessHost::AddWord(const base::string16& word) { |