Chromium Code Reviews| Index: chrome/browser/notifications/desktop_notifications_unittest.cc |
| diff --git a/chrome/browser/notifications/desktop_notifications_unittest.cc b/chrome/browser/notifications/desktop_notifications_unittest.cc |
| index 742cdcc5511f0a7959903f1a6b8b8336ab00169e..9973d1bc80da260edbd825e1e3305c45f6b6b705 100644 |
| --- a/chrome/browser/notifications/desktop_notifications_unittest.cc |
| +++ b/chrome/browser/notifications/desktop_notifications_unittest.cc |
| @@ -107,6 +107,9 @@ DesktopNotificationsTest::~DesktopNotificationsTest() { |
| void DesktopNotificationsTest::SetUp() { |
| ui::InitializeInputMethodForTesting(); |
| +#if defined(OS_WIN) |
|
dewittj
2014/03/03 22:48:55
same here
|
| + com_initializer_.reset(new base::win::ScopedCOMInitializer()); |
|
dewittj
2014/03/03 22:48:55
Please add a comment referencing the code that req
|
| +#endif |
| #if defined(USE_AURA) |
| wm_state_.reset(new views::corewm::WMState); |
| #endif |
| @@ -147,6 +150,9 @@ void DesktopNotificationsTest::TearDown() { |
| #if defined(USE_AURA) |
| wm_state_.reset(); |
| #endif |
| +#if defined(OS_WIN) |
|
dewittj
2014/03/03 22:48:55
Same #define comment here.
|
| + com_initializer_.reset(); |
| +#endif |
| ui::ShutdownInputMethodForTesting(); |
| } |