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 f3a5777d3da932922f7b58b8d014424d59a01266..08ab2ad5ded34e5fa6382e252420570ff2bbbf51 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 (EndsWith(path, ".js", false)) |
+ if (base::EndsWith(path, ".js", false)) |
return "application/javascript"; |
- if (EndsWith(path, ".json", false)) |
+ if (base::EndsWith(path, ".json", false)) |
return "application/json"; |
- if (EndsWith(path, ".pdf", false)) |
+ if (base::EndsWith(path, ".pdf", false)) |
return "application/pdf"; |
- if (EndsWith(path, ".svg", false)) |
+ if (base::EndsWith(path, ".svg", false)) |
return "image/svg+xml"; |
return "text/html"; |