Index: chrome/browser/task_manager/task_manager.cc |
diff --git a/chrome/browser/task_manager/task_manager.cc b/chrome/browser/task_manager/task_manager.cc |
index 61166ea3cd2b6635f83fe0eb3167243873aae2bf..4fe6403016ff7db797324e86ed2cacbeb53e2ca8 100644 |
--- a/chrome/browser/task_manager/task_manager.cc |
+++ b/chrome/browser/task_manager/task_manager.cc |
@@ -86,8 +86,11 @@ TaskManagerModel::TaskManagerModel(TaskManager* task_manager) |
new TaskManagerChildProcessResourceProvider(task_manager)); |
AddResourceProvider( |
new TaskManagerExtensionProcessResourceProvider(task_manager)); |
- AddResourceProvider( |
- new TaskManagerNotificationResourceProvider(task_manager)); |
+ |
+ TaskManager::ResourceProvider* provider = |
+ TaskManagerNotificationResourceProvider::Create(task_manager); |
+ if (provider) |
+ AddResourceProvider(provider); |
} |
TaskManagerModel::~TaskManagerModel() { |