| Index: chrome/test/ppapi/ppapi_test.cc
|
| diff --git a/chrome/test/ppapi/ppapi_test.cc b/chrome/test/ppapi/ppapi_test.cc
|
| index 349630f4d02d0438a2c8a278015241310c39411b..0c22910417ebdff3f503b5c17f0c311744ef99e6 100644
|
| --- a/chrome/test/ppapi/ppapi_test.cc
|
| +++ b/chrome/test/ppapi/ppapi_test.cc
|
| @@ -13,6 +13,7 @@
|
| #include "base/strings/stringprintf.h"
|
| #include "base/thread_task_runner_handle.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| +#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
|
| #include "chrome/browser/infobars/infobar_service.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/browser.h"
|
| @@ -145,8 +146,9 @@ void PPAPITestBase::SetUpCommandLine(base::CommandLine* command_line) {
|
|
|
| void PPAPITestBase::SetUpOnMainThread() {
|
| // Always allow access to the PPAPI broker.
|
| - browser()->profile()->GetHostContentSettingsMap()->SetDefaultContentSetting(
|
| - CONTENT_SETTINGS_TYPE_PPAPI_BROKER, CONTENT_SETTING_ALLOW);
|
| + HostContentSettingsMapFactory::GetForProfile(browser()->profile())
|
| + ->SetDefaultContentSetting(CONTENT_SETTINGS_TYPE_PPAPI_BROKER,
|
| + CONTENT_SETTING_ALLOW);
|
| }
|
|
|
| GURL PPAPITestBase::GetTestFileUrl(const std::string& test_case) {
|
|
|