Index: content/browser/plugin_service_impl_browsertest.cc |
diff --git a/content/browser/plugin_service_impl_browsertest.cc b/content/browser/plugin_service_impl_browsertest.cc |
index 78ede71b868ff4bfddcc34b1c884b6a46f894944..8ea918c2401fec11dd704c4c26612f3836269541 100644 |
--- a/content/browser/plugin_service_impl_browsertest.cc |
+++ b/content/browser/plugin_service_impl_browsertest.cc |
@@ -10,6 +10,7 @@ |
#include "base/path_service.h" |
#include "content/public/browser/browser_context.h" |
#include "content/public/browser/resource_context.h" |
+#include "content/public/browser/storage_partition.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/common/content_switches.h" |
#include "content/public/test/test_browser_thread.h" |
@@ -115,7 +116,8 @@ class PluginServiceTest : public ContentBrowserTest { |
PluginServiceTest() {} |
ResourceContext* GetResourceContext() { |
- return shell()->web_contents()->GetBrowserContext()->GetResourceContext(); |
+ return BrowserContext::GetDefaultStoragePartition( |
+ shell()->web_contents()->GetBrowserContext())->GetResourceContext(); |
} |
virtual void SetUpCommandLine(CommandLine* command_line) { |