Commit faf30216 authored by clamy's avatar clamy Committed by Commit Bot

Remove usage of GetActiveEntry [7/n]

This CL is part of a serie of CLs to remove usage of the deprecated
method NavigationController::GetActiveEntry.

Bug: 273710
Change-Id: I2d11ff1898c785ba912e361390e414720800d5cc
Reviewed-on: https://chromium-review.googlesource.com/1102472Reviewed-by: default avatarIstiaque Ahmed <lazyboy@chromium.org>
Commit-Queue: Camille Lamy <clamy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#568434}
parent c2843fe1
...@@ -146,7 +146,7 @@ class ContextMenuBrowserTest : public InProcessBrowserTest { ...@@ -146,7 +146,7 @@ class ContextMenuBrowserTest : public InProcessBrowserTest {
params.link_url = url; params.link_url = url;
params.src_url = url; params.src_url = url;
params.link_text = link_text; params.link_text = link_text;
params.page_url = web_contents->GetController().GetActiveEntry()->GetURL(); params.page_url = web_contents->GetVisibleURL();
params.source_type = source_type; params.source_type = source_type;
#if defined(OS_MACOSX) #if defined(OS_MACOSX)
params.writing_direction_default = 0; params.writing_direction_default = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment