Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Unified Diff: chrome/browser/tab_contents/render_view_context_menu_unittest.cc

Issue 130773004: Start moving context menu code to RenderFrame. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_contents/render_view_context_menu_unittest.cc
===================================================================
--- chrome/browser/tab_contents/render_view_context_menu_unittest.cc (revision 247964)
+++ chrome/browser/tab_contents/render_view_context_menu_unittest.cc (working copy)
@@ -257,7 +257,7 @@
params.unfiltered_link_url = params.link_url;
content::WebContents* wc = web_contents();
TestRenderViewContextMenu* menu = new TestRenderViewContextMenu(
- wc, params);
+ wc->GetMainFrame(), params);
// TestingProfile (returned by profile()) does not provide a protocol
// registry.
menu->protocol_handler_registry_ = registry_.get();

Powered by Google App Engine
This is Rietveld 408576698