| Index: ash/common/system/tray/system_tray_controller.cc
|
| diff --git a/ash/common/system/tray/system_tray_controller.cc b/ash/common/system/tray/system_tray_controller.cc
|
| index 15054e342add06d3de100058e76be8b65248f3fd..d5dd3f798dcf5b851f0453f9ddc50c2a7f206a15 100644
|
| --- a/ash/common/system/tray/system_tray_controller.cc
|
| +++ b/ash/common/system/tray/system_tray_controller.cc
|
| @@ -97,10 +97,12 @@ bool SystemTrayController::ConnectToSystemTrayClient() {
|
| return true;
|
|
|
| // Connect (or reconnect) to the interface.
|
| - if (WmShell::Get()->IsRunningInMash())
|
| + if (WmShell::Get()->IsRunningInMash()) {
|
| connector_->ConnectToInterface("exe:chrome", &system_tray_client_);
|
| - else
|
| - connector_->ConnectToInterface("exe:content_browser", &system_tray_client_);
|
| + } else {
|
| + connector_->ConnectToInterface("service:content_browser",
|
| + &system_tray_client_);
|
| + }
|
|
|
| // Handle chrome crashes by forcing a reconnect on the next request.
|
| system_tray_client_.set_connection_error_handler(base::Bind(
|
|
|