mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 109.0.5414.0 (#1070088)
- mac: Xcode 14.0 with macOS SDK 13.0 is now required. - Remove CefRequestHandler::OnQuotaRequest because persistent quota is no longer supported (see https://crbug.com/1208141)
This commit is contained in:
@ -32,7 +32,7 @@ base::FilePath FilePathFromASCII(const std::string& str) {
|
||||
std::string GetMimeType(const std::string& filename) {
|
||||
// Requests should not block on the disk! On POSIX this goes to disk.
|
||||
// http://code.google.com/p/chromium/issues/detail?id=59849
|
||||
base::ThreadRestrictions::ScopedAllowIO allow_io;
|
||||
base::ScopedAllowBlockingForTesting allow_blocking;
|
||||
|
||||
std::string mime_type;
|
||||
const base::FilePath& file_path = FilePathFromASCII(filename);
|
||||
@ -176,7 +176,8 @@ class InternalHandlerFactory : public CefSchemeHandlerFactory {
|
||||
<< action.resource_id << " URL: " << url.spec().c_str();
|
||||
return nullptr;
|
||||
}
|
||||
action.bytes = base::RefCountedString::TakeString(&str);
|
||||
action.bytes =
|
||||
base::MakeRefCounted<base::RefCountedString>(std::move(str));
|
||||
}
|
||||
|
||||
if (action.bytes) {
|
||||
|
Reference in New Issue
Block a user