Commit 00891b67 authored by clamy's avatar clamy Committed by Commit Bot

Remove usage of GetActiveEntry [16/n]

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

Bug: 273710
Change-Id: I98d76530c98b62f9c1a5cdd729aea52d39b13575
Reviewed-on: https://chromium-review.googlesource.com/1102679Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
Commit-Queue: Camille Lamy <clamy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#567980}
parent 12b476b0
...@@ -266,7 +266,7 @@ void CaptivePortalTabReloader::ReloadTabIfNeeded() { ...@@ -266,7 +266,7 @@ void CaptivePortalTabReloader::ReloadTabIfNeeded() {
void CaptivePortalTabReloader::ReloadTab() { void CaptivePortalTabReloader::ReloadTab() {
content::NavigationController* controller = &web_contents_->GetController(); content::NavigationController* controller = &web_contents_->GetController();
if (!controller->GetActiveEntry()->GetHasPostData()) if (!controller->GetLastCommittedEntry()->GetHasPostData())
controller->Reload(content::ReloadType::NORMAL, true); controller->Reload(content::ReloadType::NORMAL, true);
} }
......
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