Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index c6526ddb68c9feb2701648cff28d476a3b2b7eb6..e4613c898cf5609c18184edcbbbf1334a98d6cd4 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 && |