| Index: chrome/browser/notifications/balloon_host.cc
|
| ===================================================================
|
| --- chrome/browser/notifications/balloon_host.cc (revision 154307)
|
| +++ chrome/browser/notifications/balloon_host.cc (working copy)
|
| @@ -77,7 +77,7 @@
|
| balloon_->ResizeDueToAutoResize(pref_size);
|
| }
|
|
|
| -void BalloonHost::AddNewContents(WebContents* source,
|
| +bool BalloonHost::AddNewContents(WebContents* source,
|
| WebContents* new_contents,
|
| WindowOpenDisposition disposition,
|
| const gfx::Rect& initial_pos,
|
| @@ -85,9 +85,10 @@
|
| Browser* browser = browser::FindLastActiveWithProfile(
|
| Profile::FromBrowserContext(new_contents->GetBrowserContext()));
|
| if (browser) {
|
| - chrome::AddWebContents(browser, NULL, new_contents, disposition,
|
| - initial_pos, user_gesture);
|
| + return chrome::AddWebContents(browser, NULL, new_contents, disposition,
|
| + initial_pos, user_gesture);
|
| }
|
| + return true;
|
| }
|
|
|
| void BalloonHost::RenderViewCreated(content::RenderViewHost* render_view_host) {
|
|
|