Chromium Code Reviews| Index: content/browser/web_contents/web_contents_impl.cc |
| =================================================================== |
| --- content/browser/web_contents/web_contents_impl.cc (revision 152370) |
| +++ content/browser/web_contents/web_contents_impl.cc (working copy) |
| @@ -1292,7 +1292,8 @@ |
| // new window. As a result, we need to show and navigate the window here. |
|
Charlie Reis
2012/08/24 21:30:26
Can you throw in a TODO to ensure we fix whitelist
|
| gfx::Rect initial_pos; |
| AddNewContents( |
| - new_contents, params.disposition, initial_pos, params.user_gesture); |
| + new_contents, params.user_gesture ? params.disposition : NEW_POPUP, |
| + initial_pos, params.user_gesture); |
| content::OpenURLParams open_params(params.target_url, content::Referrer(), |
| CURRENT_TAB, |