| Index: ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
|
| diff --git a/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc b/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
|
| index bd967e1b9bd6e962d6c665265a3d75a99252ec70..9480fbade168eb278392c7430358e24ff745637a 100644
|
| --- a/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
|
| +++ b/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
|
| @@ -73,7 +73,7 @@ class BluetoothDefaultView : public TrayItemMore {
|
| if (!MaterialDesignController::IsSystemTrayMenuMaterial()) {
|
| ui::ResourceBundle& bundle = ui::ResourceBundle::GetSharedInstance();
|
| SetImage(
|
| - bundle.GetImageNamed(IDR_AURA_UBER_TRAY_BLUETOOTH).ToImageSkia());
|
| + *bundle.GetImageNamed(IDR_AURA_UBER_TRAY_BLUETOOTH).ToImageSkia());
|
| }
|
| Update();
|
| }
|
| @@ -87,8 +87,7 @@ class BluetoothDefaultView : public TrayItemMore {
|
| gfx::VectorIconId icon_id =
|
| enabled ? gfx::VectorIconId::SYSTEM_MENU_BLUETOOTH
|
| : gfx::VectorIconId::SYSTEM_MENU_BLUETOOTH_DISABLED;
|
| - gfx::ImageSkia image = gfx::CreateVectorIcon(icon_id, kMenuIconColor);
|
| - SetImage(&image);
|
| + SetImage(gfx::CreateVectorIcon(icon_id, kMenuIconColor));
|
| }
|
|
|
| if (delegate->GetBluetoothAvailable()) {
|
|
|