Index: chrome/browser/chromeos/ui/idle_app_name_notification_view.cc |
diff --git a/chrome/browser/chromeos/ui/idle_app_name_notification_view.cc b/chrome/browser/chromeos/ui/idle_app_name_notification_view.cc |
index 06dd15490a089664b3264666726ce85896c73188..73b8f6524447304bb0b2ea3e7542b4664b6c42b2 100644 |
--- a/chrome/browser/chromeos/ui/idle_app_name_notification_view.cc |
+++ b/chrome/browser/chromeos/ui/idle_app_name_notification_view.cc |
@@ -115,10 +115,9 @@ class IdleAppNameNotificationDelegateView |
int message_visibility_time_in_ms) |
: owner_(owner), |
widget_closed_(false) { |
- ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance(); |
+ ui::ResourceBundle* rb = &ui::ResourceBundle::GetSharedInstance(); |
// Add the application name label to the message. |
- AddLabel(app_name, |
- rb.GetFontList(ui::ResourceBundle::BoldFont), |
+ AddLabel(app_name, rb->GetFontList(ui::ResourceBundle::BoldFont), |
error ? kErrorTextColor : kTextColor); |
spoken_text_ = app_name; |
SetLayoutManager(new views::FillLayout); |