| Index: ios/web/webui/web_ui_ios_data_source_impl.cc
|
| diff --git a/ios/web/webui/web_ui_ios_data_source_impl.cc b/ios/web/webui/web_ui_ios_data_source_impl.cc
|
| index ee0ed423c50983ba8d7853f7f084f13dbc6fa007..e20b66015500f7e8ce62960fa18c702b1a47321e 100644
|
| --- a/ios/web/webui/web_ui_ios_data_source_impl.cc
|
| +++ b/ios/web/webui/web_ui_ios_data_source_impl.cc
|
| @@ -109,19 +109,19 @@ std::string WebUIIOSDataSourceImpl::GetSource() const {
|
| }
|
|
|
| std::string WebUIIOSDataSourceImpl::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, ".css", false))
|
| + if (base::EndsWith(path, ".css", base::CompareCase::INSENSITIVE_ASCII))
|
| return "text/css";
|
|
|
| - if (base::EndsWith(path, ".svg", false))
|
| + if (base::EndsWith(path, ".svg", base::CompareCase::INSENSITIVE_ASCII))
|
| return "image/svg+xml";
|
|
|
| return "text/html";
|
|
|