| Index: chrome/browser/captive_portal/captive_portal_tab_helper.cc
|
| diff --git a/chrome/browser/captive_portal/captive_portal_tab_helper.cc b/chrome/browser/captive_portal/captive_portal_tab_helper.cc
|
| index b3f0f888e119f8273d2c5996f6905c8e3c7755de..2d2c1e18dd83479c83cfe149a92843ce37d5d3a0 100644
|
| --- a/chrome/browser/captive_portal/captive_portal_tab_helper.cc
|
| +++ b/chrome/browser/captive_portal/captive_portal_tab_helper.cc
|
| @@ -194,10 +194,10 @@ bool CaptivePortalTabHelper::IsLoginTab() const {
|
| }
|
|
|
| void CaptivePortalTabHelper::OnRedirect(int child_id,
|
| - ResourceType::Type resource_type,
|
| + ResourceType resource_type,
|
| const GURL& new_url) {
|
| // Only main frame redirects for the provisional RenderViewHost matter.
|
| - if (resource_type != ResourceType::MAIN_FRAME ||
|
| + if (resource_type != content::RESOURCE_TYPE_MAIN_FRAME ||
|
| !provisional_render_view_host_ ||
|
| provisional_render_view_host_->GetProcess()->GetID() != child_id) {
|
| return;
|
|
|