| Index: chrome/browser/ui/browser_navigator.cc
|
| diff --git a/chrome/browser/ui/browser_navigator.cc b/chrome/browser/ui/browser_navigator.cc
|
| index 8c10fe0ae0a4b7f9d1293ce50e02af1540530f7a..e41148748872f6b1af4c2f42dde587f5e77092f3 100644
|
| --- a/chrome/browser/ui/browser_navigator.cc
|
| +++ b/chrome/browser/ui/browser_navigator.cc
|
| @@ -29,6 +29,7 @@
|
| #include "chrome/browser/ui/tab_helpers.h"
|
| #include "chrome/browser/ui/tabs/tab_strip_model.h"
|
| #include "chrome/common/url_constants.h"
|
| +#include "components/user_manager/user_id.h"
|
| #include "content/public/browser/browser_url_handler.h"
|
| #include "content/public/browser/navigation_entry.h"
|
| #include "content/public/browser/notification_service.h"
|
| @@ -540,7 +541,7 @@ void Navigate(NavigateParams* params) {
|
| if (manager) {
|
| aura::Window* src_window = source_browser->window()->GetNativeWindow();
|
| aura::Window* new_window = params->browser->window()->GetNativeWindow();
|
| - const std::string& src_user =
|
| + const user_manager::UserID& src_user =
|
| manager->GetUserPresentingWindow(src_window);
|
| if (src_user != manager->GetUserPresentingWindow(new_window)) {
|
| // Once the window gets presented, it should be shown on the same
|
|
|