Index: content/browser/frame_host/navigation_controller_impl.cc |
diff --git a/content/browser/frame_host/navigation_controller_impl.cc b/content/browser/frame_host/navigation_controller_impl.cc |
index b1b3ef346e74d340497e5b9bd4a80b004688e812..12be054eb22502fe1f0c1e2d532ba0415a91d38a 100644 |
--- a/content/browser/frame_host/navigation_controller_impl.cc |
+++ b/content/browser/frame_host/navigation_controller_impl.cc |
@@ -38,6 +38,7 @@ |
#include "net/base/escape.h" |
#include "net/base/mime_util.h" |
#include "net/base/net_util.h" |
+#include "net/base/url_constants.h" |
#include "skia/ext/platform_canvas.h" |
namespace content { |
@@ -654,8 +655,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(net::kHttpScheme) && |
+ !params.url.SchemeIs(net::kHttpsScheme)) { |
NOTREACHED() << "Http post load must use http(s) scheme."; |
return; |
} |