mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
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:
committed by
Marshall Greenblatt
parent
e3a8741563
commit
5d817b20a6
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user