Index: chrome/browser/dom_ui/chrome_url_data_manager.cc |
=================================================================== |
--- chrome/browser/dom_ui/chrome_url_data_manager.cc (revision 40415) |
+++ chrome/browser/dom_ui/chrome_url_data_manager.cc (working copy) |
@@ -94,11 +94,8 @@ |
// Being a standard scheme allows us to resolve relative paths. This method |
// is invoked multiple times during testing, so only add the scheme once. |
url_parse::Component url_scheme_component(0, strlen(chrome::kChromeUIScheme)); |
- if (!url_util::IsStandard(chrome::kChromeUIScheme, |
- strlen(chrome::kChromeUIScheme), |
- url_scheme_component)) { |
+ if (!url_util::IsStandard(chrome::kChromeUIScheme, url_scheme_component)) |
url_util::AddStandardScheme(chrome::kChromeUIScheme); |
- } |
FilePath inspector_dir; |
if (PathService::Get(chrome::DIR_INSPECTOR, &inspector_dir)) { |