| Index: chrome/browser/tab_contents/render_view_context_menu_browsertest.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/render_view_context_menu_browsertest.cc (revision 116109)
|
| +++ chrome/browser/tab_contents/render_view_context_menu_browsertest.cc (working copy)
|
| @@ -16,6 +16,8 @@
|
| #include "content/public/browser/navigation_entry.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h"
|
|
|
| +using content::WebContents;
|
| +
|
| namespace {
|
|
|
| class TestRenderViewContextMenu : public RenderViewContextMenu {
|
| @@ -44,8 +46,8 @@
|
| params.media_type = WebKit::WebContextMenuData::MediaTypeNone;
|
| params.unfiltered_link_url = unfiltered_url;
|
| params.link_url = url;
|
| - TabContents* tab_contents = browser()->GetSelectedTabContents();
|
| - params.page_url = tab_contents->GetController().GetActiveEntry()->GetURL();
|
| + WebContents* web_contents = browser()->GetSelectedWebContents();
|
| + params.page_url = web_contents->GetController().GetActiveEntry()->GetURL();
|
| #if defined(OS_MACOSX)
|
| params.writing_direction_default = 0;
|
| params.writing_direction_left_to_right = 0;
|
|
|