| Index: chrome/browser/ui/extensions/shell_window.cc
|
| ===================================================================
|
| --- chrome/browser/ui/extensions/shell_window.cc (revision 154307)
|
| +++ chrome/browser/ui/extensions/shell_window.cc (working copy)
|
| @@ -215,7 +215,7 @@
|
| return new_tab;
|
| }
|
|
|
| -void ShellWindow::AddNewContents(WebContents* source,
|
| +bool ShellWindow::AddNewContents(WebContents* source,
|
| WebContents* new_contents,
|
| WindowOpenDisposition disposition,
|
| const gfx::Rect& initial_pos,
|
| @@ -228,8 +228,8 @@
|
| // new window.
|
| disposition =
|
| disposition == NEW_BACKGROUND_TAB ? disposition : NEW_FOREGROUND_TAB;
|
| - chrome::AddWebContents(browser, NULL, new_contents, disposition, initial_pos,
|
| - user_gesture);
|
| + return chrome::AddWebContents(
|
| + browser, NULL, new_contents, disposition, initial_pos, user_gesture);
|
| }
|
|
|
| void ShellWindow::HandleKeyboardEvent(
|
|
|