summaryrefslogtreecommitdiffstats
path: root/googleurl/src/gurl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'googleurl/src/gurl.cc')
-rw-r--r--googleurl/src/gurl.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/googleurl/src/gurl.cc b/googleurl/src/gurl.cc
index 2dab0b2..a0bfd26 100644
--- a/googleurl/src/gurl.cc
+++ b/googleurl/src/gurl.cc
@@ -304,8 +304,7 @@ GURL GURL::GetWithEmptyPath() const {
}
bool GURL::IsStandard() const {
- return url_util::IsStandard(spec_.data(), static_cast<int>(spec_.length()),
- parsed_.scheme);
+ return url_util::IsStandard(spec_.data(), parsed_.scheme);
}
bool GURL::SchemeIs(const char* lower_ascii_scheme) const {