| Index: ash/system/chromeos/power/battery_notification.cc
|
| diff --git a/ash/system/chromeos/power/battery_notification.cc b/ash/system/chromeos/power/battery_notification.cc
|
| index 664aa391961ee7b830fce5cfa731a78d0bc91fd0..cd8b3ae4c9c8561769343fa388e15946ecbb79b3 100644
|
| --- a/ash/system/chromeos/power/battery_notification.cc
|
| +++ b/ash/system/chromeos/power/battery_notification.cc
|
| @@ -94,8 +94,7 @@ BatteryNotification::BatteryNotification(
|
| MessageCenter* message_center,
|
| TrayPower::NotificationState notification_state)
|
| : message_center_(message_center) {
|
| - message_center_->AddNotification(
|
| - CreateNotification(notification_state).Pass());
|
| + message_center_->AddNotification(CreateNotification(notification_state));
|
| }
|
|
|
| BatteryNotification::~BatteryNotification() {
|
| @@ -106,8 +105,8 @@ BatteryNotification::~BatteryNotification() {
|
| void BatteryNotification::Update(
|
| TrayPower::NotificationState notification_state) {
|
| if (message_center_->FindVisibleNotificationById(kBatteryNotificationId)) {
|
| - message_center_->UpdateNotification(
|
| - kBatteryNotificationId, CreateNotification(notification_state).Pass());
|
| + message_center_->UpdateNotification(kBatteryNotificationId,
|
| + CreateNotification(notification_state));
|
| }
|
| }
|
|
|
|
|