| Index: chrome/browser/automation/testing_automation_provider.cc
|
| diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
|
| index 696baa0982c6bcfc6e8591ba9afe6a306082ce5e..b403ec478c0440f15f604e8678178e0388ba53c6 100644
|
| --- a/chrome/browser/automation/testing_automation_provider.cc
|
| +++ b/chrome/browser/automation/testing_automation_provider.cc
|
| @@ -202,6 +202,10 @@ TestingAutomationProvider::TestingAutomationProvider(Profile* profile)
|
| }
|
|
|
| TestingAutomationProvider::~TestingAutomationProvider() {
|
| +#if defined(OS_CHROMEOS)
|
| + chromeos::DBusThreadManager::Get()->GetPowerManagerClient()->
|
| + RemoveObserver(this);
|
| +#endif
|
| BrowserList::RemoveObserver(this);
|
| }
|
|
|
|
|