| Index: chrome/browser/tab_contents/render_view_host_delegate_helper.cc
|
| diff --git a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
|
| index 7a697dba62c71e8f1b29efde1b436e2bd34ab113..78cbf565985dff44932d3ae9d3a1bcf8bcb7138c 100644
|
| --- a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
|
| +++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
|
| @@ -244,11 +244,9 @@ TabContents* RenderViewHostDelegateViewHelper::CreateNewWindowFromTabContents(
|
| details.source_frame_id = params.opener_frame_id;
|
| details.target_url = params.target_url;
|
| details.target_tab_contents = new_contents;
|
| - Profile* profile =
|
| - Profile::FromBrowserContext(tab_contents->browser_context());
|
| NotificationService::current()->Notify(
|
| content::NOTIFICATION_RETARGETING,
|
| - Source<Profile>(profile),
|
| + Source<content::BrowserContext>(tab_contents->browser_context()),
|
| Details<content::RetargetingDetails>(&details));
|
|
|
| if (tab_contents->delegate())
|
|
|