| Index: chrome/browser/chromeos/memory/oom_priority_manager.cc
|
| diff --git a/chrome/browser/chromeos/memory/oom_priority_manager.cc b/chrome/browser/chromeos/memory/oom_priority_manager.cc
|
| index b750816a142247561f7c387dfae27ca1e8734b51..826b34813a6ac6d201458566a07543dba42cb464 100644
|
| --- a/chrome/browser/chromeos/memory/oom_priority_manager.cc
|
| +++ b/chrome/browser/chromeos/memory/oom_priority_manager.cc
|
| @@ -34,8 +34,8 @@
|
| #include "chrome/browser/ui/tabs/tab_strip_model.h"
|
| #include "chrome/browser/ui/tabs/tab_utils.h"
|
| #include "chrome/common/chrome_constants.h"
|
| -#include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/url_constants.h"
|
| +#include "chromeos/chromeos_switches.h"
|
| #include "chromeos/memory/low_memory_listener.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/notification_service.h"
|
| @@ -173,7 +173,8 @@ OomPriorityManager::OomPriorityManager()
|
| discard_count_(0),
|
| recent_tab_discard_(false) {
|
| // We only need the low memory observer if we want to discard tabs.
|
| - if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kNoDiscardTabs))
|
| + if (!CommandLine::ForCurrentProcess()->HasSwitch(
|
| + chromeos::switches::kNoDiscardTabs))
|
| low_memory_listener_.reset(new LowMemoryListener(this));
|
|
|
| registrar_.Add(this,
|
|
|