diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-03 22:45:44 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-03 22:45:44 +0000 |
commit | bb81f384b9ed7b1da8e2f703ced60dabc629309d (patch) | |
tree | d179afc3124a548f16e847b2394c2f914d861ac4 /chrome/browser/custom_handlers | |
parent | 6dad490f3125744e012b974c01f9c911b8e4b519 (diff) | |
download | chromium_src-bb81f384b9ed7b1da8e2f703ced60dabc629309d.zip chromium_src-bb81f384b9ed7b1da8e2f703ced60dabc629309d.tar.gz chromium_src-bb81f384b9ed7b1da8e2f703ced60dabc629309d.tar.bz2 |
Convert the remaining Browser::GetSelectedTabContents() calls to GetSelectedWebContents, and update all dependent code.
BUG=98716
TBR=joi
Review URL: http://codereview.chromium.org/9074012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116226 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/custom_handlers')
-rw-r--r-- | chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc b/chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc index 7e09693..6208cdf 100644 --- a/chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc +++ b/chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc @@ -22,8 +22,8 @@ namespace { class TestRenderViewContextMenu : public RenderViewContextMenu { public: - TestRenderViewContextMenu(TabContents* tab_contents, ContextMenuParams params) - : RenderViewContextMenu(tab_contents, params) { } + TestRenderViewContextMenu(WebContents* web_contents, ContextMenuParams params) + : RenderViewContextMenu(web_contents, params) { } virtual void PlatformInit() { } virtual bool GetAcceleratorForCommandId( @@ -54,7 +54,7 @@ class RegisterProtocolHandlerBrowserTest : public InProcessBrowserTest { params.writing_direction_right_to_left = 0; #endif // OS_MACOSX TestRenderViewContextMenu* menu = new TestRenderViewContextMenu( - browser()->GetSelectedTabContents(), params); + browser()->GetSelectedWebContents(), params); menu->Init(); return menu; } |