Index: chrome/test/base/view_event_test_platform_part_chromeos.cc |
diff --git a/chrome/test/base/view_event_test_platform_part_chromeos.cc b/chrome/test/base/view_event_test_platform_part_chromeos.cc |
index a18104b6c7ed8f5da2fc066bfdc69d26af82ea93..ae89a5784c8cb1d0debff4e7702e4ee148bbae65 100644 |
--- a/chrome/test/base/view_event_test_platform_part_chromeos.cc |
+++ b/chrome/test/base/view_event_test_platform_part_chromeos.cc |
@@ -22,7 +22,6 @@ |
#include "ui/aura/env.h" |
#include "ui/aura/window_tree_host.h" |
#include "ui/display/display_switches.h" |
-#include "ui/message_center/message_center.h" |
#include "ui/wm/core/wm_state.h" |
namespace { |
@@ -48,9 +47,7 @@ class ViewEventTestPlatformPartChromeOS : public ViewEventTestPlatformPart { |
ViewEventTestPlatformPartChromeOS::ViewEventTestPlatformPartChromeOS( |
ui::ContextFactory* context_factory) { |
- // Ash Shell can't just live on its own without a browser process, we need to |
- // also create the message center. |
- message_center::MessageCenter::Initialize(); |
+ // Ash Shell can't just live on its own without a browser process. |
chromeos::DBusThreadManager::Initialize(); |
bluez::BluezDBusManager::Initialize( |
chromeos::DBusThreadManager::Get()->GetSystemBus(), |
@@ -82,9 +79,6 @@ ViewEventTestPlatformPartChromeOS::~ViewEventTestPlatformPartChromeOS() { |
chromeos::CrasAudioHandler::Shutdown(); |
bluez::BluezDBusManager::Shutdown(); |
chromeos::DBusThreadManager::Shutdown(); |
- // Ash Shell can't just live on its own without a browser process, we need to |
- // also shut down the message center. |
- message_center::MessageCenter::Shutdown(); |
} |
} // namespace |