| Index: content/browser/memory/memory_coordinator_browsertest.cc
|
| diff --git a/content/browser/memory/memory_coordinator_browsertest.cc b/content/browser/memory/memory_coordinator_browsertest.cc
|
| index 4a6b4cc0b3bf310146a2a6edd0552917a5ea3199..096163fa3aecdc676632489b571c28cc7d495874 100644
|
| --- a/content/browser/memory/memory_coordinator_browsertest.cc
|
| +++ b/content/browser/memory/memory_coordinator_browsertest.cc
|
| @@ -10,24 +10,12 @@
|
|
|
| namespace content {
|
|
|
| -namespace {
|
| -
|
| -void EnableForTesting() {
|
| - base::FeatureList::ClearInstanceForTesting();
|
| - std::unique_ptr<base::FeatureList> feature_list(new base::FeatureList);
|
| - feature_list->InitializeFromCommandLine(features::kMemoryCoordinator.name,
|
| - "");
|
| - base::FeatureList::SetInstance(std::move(feature_list));
|
| -}
|
| -
|
| -} // namespace
|
| -
|
| class MemoryCoordinatorTest : public ContentBrowserTest {
|
| public:
|
| MemoryCoordinatorTest() {}
|
|
|
| void SetUp() override {
|
| - EnableForTesting();
|
| + MemoryCoordinator::EnableFeaturesForTesting();
|
| ContentBrowserTest::SetUp();
|
| }
|
|
|
|
|