Index: chrome/browser/ui/webui/devtools_ui.cc |
diff --git a/chrome/browser/ui/webui/devtools_ui.cc b/chrome/browser/ui/webui/devtools_ui.cc |
index 7a87620aa8f74084fc60130016e366ccc9b99292..7960c0f6ab23cb1ee48c9be82589deaf10dd6324 100644 |
--- a/chrome/browser/ui/webui/devtools_ui.cc |
+++ b/chrome/browser/ui/webui/devtools_ui.cc |
@@ -143,7 +143,8 @@ void DevToolsDataSource::StartDataRequest( |
// Serve request from local bundle. |
std::string bundled_path_prefix(chrome::kChromeUIDevToolsBundledPath); |
bundled_path_prefix += "/"; |
- if (base::StartsWithASCII(path, bundled_path_prefix, false)) { |
+ if (base::StartsWith(path, bundled_path_prefix, |
+ base::CompareCase::INSENSITIVE_ASCII)) { |
StartBundledDataRequest(path.substr(bundled_path_prefix.length()), |
render_process_id, render_frame_id, callback); |
return; |
@@ -152,7 +153,8 @@ void DevToolsDataSource::StartDataRequest( |
// Serve request from remote location. |
std::string remote_path_prefix(chrome::kChromeUIDevToolsRemotePath); |
remote_path_prefix += "/"; |
- if (base::StartsWithASCII(path, remote_path_prefix, false)) { |
+ if (base::StartsWith(path, remote_path_prefix, |
+ base::CompareCase::INSENSITIVE_ASCII)) { |
StartRemoteDataRequest(path.substr(remote_path_prefix.length()), |
render_process_id, render_frame_id, callback); |
return; |