Index: chrome/browser/tab_contents/render_view_context_menu.cc |
diff --git a/chrome/browser/tab_contents/render_view_context_menu.cc b/chrome/browser/tab_contents/render_view_context_menu.cc |
index b1190a4729f718b1787732f2720d0c31b5ea01fb..351bbbebf91e940a2ce78bc450e4868fe4f18de8 100644 |
--- a/chrome/browser/tab_contents/render_view_context_menu.cc |
+++ b/chrome/browser/tab_contents/render_view_context_menu.cc |
@@ -1808,11 +1808,10 @@ void RenderViewContextMenu::OpenURL( |
details.source_frame_id = frame_id; |
details.target_url = url; |
details.target_tab_contents = new_contents; |
- Profile* profile = |
- Profile::FromBrowserContext(source_tab_contents_->browser_context()); |
NotificationService::current()->Notify( |
content::NOTIFICATION_RETARGETING, |
- Source<Profile>(profile), |
+ Source<content::BrowserContext>( |
+ source_tab_contents_->browser_context()), |
Details<content::RetargetingDetails>(&details)); |
} |
} |