Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index a3cd5bc17f140853c99fd8bd8215544b9de801cf..442b9b753ce96c07d780e1d447e734ff50d91ceb 100644 |
--- a/content/renderer/render_frame_impl.cc |
+++ b/content/renderer/render_frame_impl.cc |
@@ -70,6 +70,7 @@ |
#include "net/base/data_url.h" |
#include "net/base/net_errors.h" |
#include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
+#include "net/base/url_constants.h" |
#include "net/http/http_util.h" |
#include "third_party/WebKit/public/platform/WebStorageQuotaCallbacks.h" |
#include "third_party/WebKit/public/platform/WebString.h" |
@@ -275,7 +276,7 @@ static bool IsNonLocalTopLevelNavigation(const GURL& url, |
// 2. The origin of the url and the opener is the same in which case the |
// opener relationship is maintained. |
// 3. Reloads/form submits/back forward navigations |
- if (!url.SchemeIs(kHttpScheme) && !url.SchemeIs(kHttpsScheme)) |
+ if (!url.SchemeIs(net::kHttpScheme) && !url.SchemeIs(net::kHttpsScheme)) |
return false; |
if (type != blink::WebNavigationTypeReload && |