Index: ash/shelf/shelf_view.cc |
diff --git a/ash/shelf/shelf_view.cc b/ash/shelf/shelf_view.cc |
index f46233c74f0a3d2c5ff0e13779108f2fb591e263..3dc58fd33a6b640298ccdcaa36cdf59dcac25c05 100644 |
--- a/ash/shelf/shelf_view.cc |
+++ b/ash/shelf/shelf_view.cc |
@@ -172,8 +172,8 @@ const gfx::FontList* ShelfMenuModelAdapter::GetLabelFontList( |
if (command_id != kCommandIdOfMenuName) |
return MenuModelAdapter::GetLabelFontList(command_id); |
- ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance(); |
- return &rb.GetFontList(ui::ResourceBundle::BoldFont); |
+ ui::ResourceBundle* rb = &ui::ResourceBundle::GetSharedInstance(); |
+ return &rb->GetFontList(ui::ResourceBundle::BoldFont); |
} |
bool ShelfMenuModelAdapter::IsCommandEnabled(int id) const { |