diff options
Diffstat (limited to 'chrome/browser/external_tab_container_win.cc')
| -rw-r--r-- | chrome/browser/external_tab_container_win.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/external_tab_container_win.cc b/chrome/browser/external_tab_container_win.cc index f645793..1af539b 100644 --- a/chrome/browser/external_tab_container_win.cc +++ b/chrome/browser/external_tab_container_win.cc @@ -383,6 +383,8 @@ void ExternalTabContainer::AddNewContents(TabContents* source, attach_params_.dimensions = initial_pos; attach_params_.user_gesture = user_gesture; attach_params_.disposition = disposition; + attach_params_.profile_name = WideToUTF8( + tab_contents()->profile()->GetPath().DirName().BaseName().value()); automation_->Send(new AutomationMsg_AttachExternalTab(0, tab_handle_, attach_params_)); } else { |
