Index: chrome/browser/chromeos/ui/kiosk_external_update_notification.cc |
diff --git a/chrome/browser/chromeos/ui/kiosk_external_update_notification.cc b/chrome/browser/chromeos/ui/kiosk_external_update_notification.cc |
index 179759cffbd24bf5d0e84817d168496b16687321..ecb327263c1d3c7e23222091011923375fd3be4a 100644 |
--- a/chrome/browser/chromeos/ui/kiosk_external_update_notification.cc |
+++ b/chrome/browser/chromeos/ui/kiosk_external_update_notification.cc |
@@ -71,8 +71,8 @@ class KioskExternalUpdateNotificationView : public views::WidgetDelegateView { |
void AddLabel() { |
label_ = new views::Label; |
label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); |
- ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance(); |
- label_->SetFontList(rb.GetFontList(ui::ResourceBundle::BoldFont)); |
+ ui::ResourceBundle* rb = &ui::ResourceBundle::GetSharedInstance(); |
+ label_->SetFontList(rb->GetFontList(ui::ResourceBundle::BoldFont)); |
label_->SetEnabledColor(kTextColor); |
label_->SetDisabledColor(kTextColor); |
label_->SetAutoColorReadabilityEnabled(false); |