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

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

Issue 332533002: Fix uninit in WebNotificationTrayTest.ManuallyCloseMessageCenter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/message_center_settings_controller.cc
diff --git a/chrome/browser/notifications/message_center_settings_controller.cc b/chrome/browser/notifications/message_center_settings_controller.cc
index 9a6d73203f7f3038a8c0e83a88ea37b560d3ea52..5fd5cdf53f6378a016cda00498a45998c1d5d9ce 100644
--- a/chrome/browser/notifications/message_center_settings_controller.cc
+++ b/chrome/browser/notifications/message_center_settings_controller.cc
@@ -209,7 +209,7 @@ void MessageCenterSettingsController::GetNotifierList(
DesktopNotificationService* notification_service =
DesktopNotificationServiceFactory::GetForProfile(profile);
- UErrorCode error;
+ UErrorCode error = U_ZERO_ERROR;
scoped_ptr<icu::Collator> collator(icu::Collator::createInstance(error));
scoped_ptr<NotifierComparator> comparator;
if (!U_FAILURE(error))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698