Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: chrome/browser/task_manager/sampling/task_group.cc

Issue 2819493002: [Test] Move DelegatedFrameEvictor into components -public_deps (Closed)
Patch Set: use if null instead of feature Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/task_manager/sampling/task_group.cc
diff --git a/chrome/browser/task_manager/sampling/task_group.cc b/chrome/browser/task_manager/sampling/task_group.cc
index ce8460050d72812df030d2c1fdee2f683bb1718a..1abd2daa4498551332616b44e84aac494de1b774 100644
--- a/chrome/browser/task_manager/sampling/task_group.cc
+++ b/chrome/browser/task_manager/sampling/task_group.cc
@@ -7,6 +7,7 @@
#include <algorithm>
#include <limits>
+#include "base/base_features.h"
#include "base/bind.h"
#include "base/callback.h"
#include "build/build_config.h"
@@ -15,7 +16,6 @@
#include "components/nacl/browser/nacl_browser.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/memory_coordinator.h"
-#include "content/public/common/content_features.h"
#include "gpu/ipc/common/memory_stats.h"
namespace task_manager {
@@ -210,7 +210,7 @@ void TaskGroup::Refresh(const gpu::VideoMemoryUsageStats& gpu_memory_stats,
// 6- Refresh memory state when memory coordinator is enabled.
if (TaskManagerObserver::IsResourceRefreshEnabled(REFRESH_TYPE_MEMORY_STATE,
refresh_flags) &&
- base::FeatureList::IsEnabled(features::kMemoryCoordinator)) {
+ base::FeatureList::IsEnabled(base::features::kMemoryCoordinator)) {
memory_state_ =
content::MemoryCoordinator::GetInstance()->GetStateForProcess(
process_handle_);
« no previous file with comments | « chrome/browser/sessions/tab_loader_unittest.cc ('k') | chrome/browser/task_manager/task_manager_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698