Update to Chromium version 131.0.6768.0 (#1366576)

mac: Switch to Xcode 16.0 16A242d with macOS SDK 15.0 24A336
This commit is contained in:
Nik Pavlov
2024-10-24 11:05:31 -04:00
committed by Marshall Greenblatt
parent e3a8741563
commit 5d817b20a6
81 changed files with 655 additions and 710 deletions

View File

@ -117,12 +117,10 @@ CefString CefGetMimeType(const CefString& extension) {
void CefGetExtensionsForMimeType(const CefString& mime_type,
std::vector<CefString>& extensions) {
using VectorType = std::vector<base::FilePath::StringType>;
VectorType ext;
net::GetExtensionsForMimeType(mime_type, &ext);
VectorType::const_iterator it = ext.begin();
for (; it != ext.end(); ++it) {
extensions.push_back(*it);
std::vector<base::FilePath::StringType> buffer;
net::GetExtensionsForMimeType(mime_type.ToString(), &buffer);
for (const auto& extension : buffer) {
extensions.push_back(extension);
}
}