Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6448)

Unified Diff: chrome/browser/notifications/desktop_notifications_unittest.cc

Issue 178883004: Enable the volume slider in Ash for windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Try again, got a 500 last time. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698