Index: chrome/browser/chromeos/app_mode/kiosk_external_updater.cc |
diff --git a/chrome/browser/chromeos/app_mode/kiosk_external_updater.cc b/chrome/browser/chromeos/app_mode/kiosk_external_updater.cc |
index 4fcc1ff88dd6f3ff472db34d07a4fcb887f66256..f90a45922f25b164cbeb7615853c93f2f4d9056a 100644 |
--- a/chrome/browser/chromeos/app_mode/kiosk_external_updater.cc |
+++ b/chrome/browser/chromeos/app_mode/kiosk_external_updater.cc |
@@ -375,9 +375,9 @@ bool KioskExternalUpdater::ShouldDoExternalUpdate( |
DCHECK(cached); |
// Compare app version. |
- ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance(); |
+ ui::ResourceBundle* rb = &ui::ResourceBundle::GetSharedInstance(); |
if (!ShouldUpdateForHigherVersion(existing_version_str, version, false)) { |
- external_updates_[app_id].error = rb.GetLocalizedString( |
+ external_updates_[app_id].error = rb->GetLocalizedString( |
IDS_KIOSK_EXTERNAL_UPDATE_SAME_OR_LOWER_APP_VERSION); |
return false; |
} |