Index: ui/arc/notification/arc_notification_manager.cc |
diff --git a/ui/arc/notification/arc_notification_manager.cc b/ui/arc/notification/arc_notification_manager.cc |
index a5692d54d3636226e9eed61c8c5c91c6972cb976..6390c8cf0b40a63c0f5faca334c0c0f9ac0d2e63 100644 |
--- a/ui/arc/notification/arc_notification_manager.cc |
+++ b/ui/arc/notification/arc_notification_manager.cc |
@@ -29,9 +29,7 @@ void ArcNotificationManager::OnNotificationsInstanceReady() { |
return; |
} |
- NotificationsHostPtr host; |
- binding_.Bind(mojo::GetProxy(&host)); |
- notifications_instance->Init(std::move(host)); |
+ notifications_instance->Init(binding_.CreateInterfacePtrAndBind()); |
} |
void ArcNotificationManager::OnNotificationPosted(ArcNotificationDataPtr data) { |