Index: chrome_frame/navigation_constraints.cc |
diff --git a/chrome_frame/navigation_constraints.cc b/chrome_frame/navigation_constraints.cc |
index 33f4216a6a556abc50f8ee637731f8442fc3eedd..92524e4500b5fe1c30ae64848c5b6c0bdae5a951 100644 |
--- a/chrome_frame/navigation_constraints.cc |
+++ b/chrome_frame/navigation_constraints.cc |
@@ -26,8 +26,7 @@ bool NavigationConstraintsImpl::IsSchemeAllowed(const GURL& url) { |
if (!url.is_valid()) |
return false; |
- if (url.SchemeIs(chrome::kHttpScheme) || |
- url.SchemeIs(chrome::kHttpsScheme)) |
+ if (url.SchemeIs(chrome::kHttpScheme) || url.SchemeIs(content::kHttpsScheme)) |
return true; |
// Additional checking for view-source. Allow only http and https |
@@ -35,7 +34,7 @@ bool NavigationConstraintsImpl::IsSchemeAllowed(const GURL& url) { |
if (url.SchemeIs(content::kViewSourceScheme)) { |
GURL sub_url(url.path()); |
if (sub_url.SchemeIs(chrome::kHttpScheme) || |
- sub_url.SchemeIs(chrome::kHttpsScheme)) |
+ sub_url.SchemeIs(content::kHttpsScheme)) |
return true; |
} |