| Index: chrome/browser/task_manager/task_manager.cc
|
| diff --git a/chrome/browser/task_manager/task_manager.cc b/chrome/browser/task_manager/task_manager.cc
|
| index ec32624a1efc1f63033bf5e682f2e064c0c2505b..45c30d59cee9703e72d982031d392fcc018eee3a 100644
|
| --- a/chrome/browser/task_manager/task_manager.cc
|
| +++ b/chrome/browser/task_manager/task_manager.cc
|
| @@ -1495,8 +1495,10 @@ void TaskManager::ActivateProcess(int index) {
|
| // (i.e. refers to the Browser process or a plugin), GetWebContents will
|
| // return NULL.
|
| WebContents* chosen_web_contents = model_->GetResourceWebContents(index);
|
| - if (chosen_web_contents && chosen_web_contents->GetDelegate())
|
| - chosen_web_contents->GetDelegate()->ActivateContents(chosen_web_contents);
|
| + if (chosen_web_contents && chosen_web_contents->GetDelegate()) {
|
| + chosen_web_contents->GetDelegate()->ActivateContents(
|
| + chosen_web_contents, true /* user_gesture */);
|
| + }
|
| }
|
|
|
| void TaskManager::AddResource(Resource* resource) {
|
|
|