| Index: chrome/test/ppapi/ppapi_interactive_browsertest.cc
|
| diff --git a/chrome/test/ppapi/ppapi_interactive_browsertest.cc b/chrome/test/ppapi/ppapi_interactive_browsertest.cc
|
| index 363d12d5585f8f0f271efcf12f8e6526e7395964..ec026a0ece841502c5b046fa632ce7033ba1f616 100644
|
| --- a/chrome/test/ppapi/ppapi_interactive_browsertest.cc
|
| +++ b/chrome/test/ppapi/ppapi_interactive_browsertest.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/test/ppapi/ppapi_test.h"
|
|
|
| #include "build/build_config.h"
|
| +#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/browser.h"
|
| #include "components/content_settings/core/browser/host_content_settings_map.h"
|
| @@ -22,7 +23,7 @@
|
| IN_PROC_BROWSER_TEST_F(
|
| OutOfProcessPPAPITest, DISABLED_MouseLock_SucceedWhenAllowed) {
|
| HostContentSettingsMap* settings_map =
|
| - browser()->profile()->GetHostContentSettingsMap();
|
| + HostContentSettingsMapFactory::GetForProfile(browser()->profile());
|
|
|
| settings_map->SetDefaultContentSetting(CONTENT_SETTINGS_TYPE_MOUSELOCK,
|
| CONTENT_SETTING_ALLOW);
|
| @@ -34,7 +35,7 @@ IN_PROC_BROWSER_TEST_F(
|
| IN_PROC_BROWSER_TEST_F(
|
| OutOfProcessPPAPITest, DISABLED_MouseLock_FailWhenBlocked) {
|
| HostContentSettingsMap* settings_map =
|
| - browser()->profile()->GetHostContentSettingsMap();
|
| + HostContentSettingsMapFactory::GetForProfile(browser()->profile());
|
|
|
| settings_map->SetDefaultContentSetting(CONTENT_SETTINGS_TYPE_MOUSELOCK,
|
| CONTENT_SETTING_BLOCK);
|
|
|