diff options
Diffstat (limited to 'content/browser/frame_host/navigation_controller_impl.cc')
-rw-r--r-- | content/browser/frame_host/navigation_controller_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/frame_host/navigation_controller_impl.cc b/content/browser/frame_host/navigation_controller_impl.cc index 4fa5f08..79e2c7b 100644 --- a/content/browser/frame_host/navigation_controller_impl.cc +++ b/content/browser/frame_host/navigation_controller_impl.cc @@ -654,8 +654,8 @@ void NavigationControllerImpl::LoadURLWithParams(const LoadURLParams& params) { case LOAD_TYPE_DEFAULT: break; case LOAD_TYPE_BROWSER_INITIATED_HTTP_POST: - if (!params.url.SchemeIs(kHttpScheme) && - !params.url.SchemeIs(kHttpsScheme)) { + if (!params.url.SchemeIs(url::kHttpScheme) && + !params.url.SchemeIs(url::kHttpsScheme)) { NOTREACHED() << "Http post load must use http(s) scheme."; return; } |