| Index: chrome/browser/task_manager/task_manager_browsertest.cc
|
| diff --git a/chrome/browser/task_manager/task_manager_browsertest.cc b/chrome/browser/task_manager/task_manager_browsertest.cc
|
| index 3c27c4743c0c06d82c4c245947a450330d02cb4d..e11ad1501f903c6dcb6b4dfee8acf09ff2841baa 100644
|
| --- a/chrome/browser/task_manager/task_manager_browsertest.cc
|
| +++ b/chrome/browser/task_manager/task_manager_browsertest.cc
|
| @@ -38,7 +38,6 @@
|
| #include "content/public/browser/notification_service.h"
|
| #include "content/public/browser/page_navigator.h"
|
| #include "content/public/browser/render_frame_host.h"
|
| -#include "content/public/common/content_switches.h"
|
| #include "content/public/test/browser_test_utils.h"
|
| #include "content/public/test/content_browser_test_utils.h"
|
| #include "extensions/browser/extension_system.h"
|
| @@ -159,12 +158,11 @@ class TaskManagerOOPIFBrowserTest : public TaskManagerBrowserTest,
|
| void SetUpCommandLine(base::CommandLine* command_line) override {
|
| TaskManagerBrowserTest::SetUpCommandLine(command_line);
|
| if (GetParam())
|
| - command_line->AppendSwitch(switches::kSitePerProcess);
|
| + content::IsolateAllSitesForTesting(command_line);
|
| }
|
|
|
| bool ShouldExpectSubframes() {
|
| - return base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kSitePerProcess);
|
| + return content::AreAllSitesIsolatedForTesting();
|
| }
|
|
|
| private:
|
|
|