| Index: chrome/browser/tab_contents/render_view_context_menu_win.cc
|
| diff --git a/chrome/browser/tab_contents/render_view_context_menu_win.cc b/chrome/browser/tab_contents/render_view_context_menu_win.cc
|
| index 8493a23cdee18613f84f5fa7f813582ef60a5368..8c16a951e174eaa12cd4a4255108054d272662f3 100644
|
| --- a/chrome/browser/tab_contents/render_view_context_menu_win.cc
|
| +++ b/chrome/browser/tab_contents/render_view_context_menu_win.cc
|
| @@ -66,7 +66,7 @@ void RenderViewContextMenuWin::ExecuteCommand(int command_id,
|
| NEW_FOREGROUND_TAB,
|
| content::PAGE_TRANSITION_LINK,
|
| false);
|
| - WebContents* source_web_contents = browser->GetSelectedWebContents();
|
| + WebContents* source_web_contents = browser->GetActiveWebContents();
|
| WebContents* new_contents = source_web_contents->OpenURL(url_params);
|
| DCHECK(new_contents);
|
| return;
|
|
|