| Index: content/browser/webui/web_ui_data_source_impl.cc
|
| diff --git a/content/browser/webui/web_ui_data_source_impl.cc b/content/browser/webui/web_ui_data_source_impl.cc
|
| index 08ab2ad5ded34e5fa6382e252420570ff2bbbf51..9efe6614000d5b92d35cc6494cb2a314e44f2ff9 100644
|
| --- a/content/browser/webui/web_ui_data_source_impl.cc
|
| +++ b/content/browser/webui/web_ui_data_source_impl.cc
|
| @@ -190,16 +190,16 @@ std::string WebUIDataSourceImpl::GetSource() const {
|
| }
|
|
|
| std::string WebUIDataSourceImpl::GetMimeType(const std::string& path) const {
|
| - if (base::EndsWith(path, ".js", false))
|
| + if (base::EndsWith(path, ".js", base::CompareCase::INSENSITIVE_ASCII))
|
| return "application/javascript";
|
|
|
| - if (base::EndsWith(path, ".json", false))
|
| + if (base::EndsWith(path, ".json", base::CompareCase::INSENSITIVE_ASCII))
|
| return "application/json";
|
|
|
| - if (base::EndsWith(path, ".pdf", false))
|
| + if (base::EndsWith(path, ".pdf", base::CompareCase::INSENSITIVE_ASCII))
|
| return "application/pdf";
|
|
|
| - if (base::EndsWith(path, ".svg", false))
|
| + if (base::EndsWith(path, ".svg", base::CompareCase::INSENSITIVE_ASCII))
|
| return "image/svg+xml";
|
|
|
| return "text/html";
|
|
|