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