Index: components/omnibox/browser/builtin_provider.cc |
diff --git a/components/omnibox/browser/builtin_provider.cc b/components/omnibox/browser/builtin_provider.cc |
index 35fb3a8225156557c15796640f358dd59afb8b6a..d272e19556ad9436006d43572ad83aff2f5ac219 100644 |
--- a/components/omnibox/browser/builtin_provider.cc |
+++ b/components/omnibox/browser/builtin_provider.cc |
@@ -68,8 +68,7 @@ void BuiltinProvider::Start(const AutocompleteInput& input, |
base::CompareCase::SENSITIVE); |
// BuiltinProvider doesn't know how to suggest valid ?query or #fragment |
// extensions to builtin URLs. |
- if (url.SchemeIs( |
- client_->GetEmbedderRepresentationOfAboutScheme().c_str()) && |
+ if (url.SchemeIs(client_->GetEmbedderRepresentationOfAboutScheme()) && |
url.has_host() && !url.has_query() && !url.has_ref()) { |
// Suggest about:blank for substrings, taking URL fixup into account. |
// Chrome does not support trailing slashes or paths for about:blank. |