Index: chrome/browser/ui/webui/profiler_ui.cc |
diff --git a/chrome/browser/ui/webui/profiler_ui.cc b/chrome/browser/ui/webui/profiler_ui.cc |
index fda2c099a7b67e70d0c404fd246e9b208ccee6d6..9762912186573723601c7ba4b03a593a8567dbf8 100644 |
--- a/chrome/browser/ui/webui/profiler_ui.cc |
+++ b/chrome/browser/ui/webui/profiler_ui.cc |
@@ -58,7 +58,7 @@ class ProfilerWebUIDataSource : public content::URLDataSource { |
} |
std::string GetMimeType(const std::string& path) const override { |
- if (base::EndsWith(path, ".js", false)) |
+ if (base::EndsWith(path, ".js", base::CompareCase::INSENSITIVE_ASCII)) |
return "application/javascript"; |
return "text/html"; |
} |