| 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 5d13c532a6f1c08af84ae2eb7eca42ca61b43106..4067640f17d5b117aff8c7643883375918625b51 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:
|
|
|