Index: url/gurl.cc |
diff --git a/url/gurl.cc b/url/gurl.cc |
index c79cdba1aa21902651a6868579a4be7e0f326753..947403e19705598e9ef32cc67ea609ab21584c28 100644 |
--- a/url/gurl.cc |
+++ b/url/gurl.cc |
@@ -370,11 +370,11 @@ bool GURL::SchemeIs(const char* lower_ascii_scheme) const { |
} |
bool GURL::SchemeIsHTTPOrHTTPS() const { |
- return SchemeIs("http") || SchemeIs("https"); |
+ return SchemeIs(url::kHttpScheme) || SchemeIs(url::kHttpsScheme); |
} |
bool GURL::SchemeIsWSOrWSS() const { |
- return SchemeIs("ws") || SchemeIs("wss"); |
+ return SchemeIs(url::kWsScheme) || SchemeIs(url::kWssScheme); |
} |
int GURL::IntPort() const { |