mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 103.0.5060.0 (#1002911)
This commit is contained in:
@@ -44,7 +44,6 @@
|
||||
#include "base/path_service.h"
|
||||
#include "base/stl_util.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "base/task/post_task.h"
|
||||
#include "build/build_config.h"
|
||||
#include "chrome/common/chrome_switches.h"
|
||||
#include "chrome/common/pdf_util.h"
|
||||
@@ -147,8 +146,8 @@ void AlloyContentRendererClient::RunSingleProcessCleanup() {
|
||||
if (content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)) {
|
||||
RunSingleProcessCleanupOnUIThread();
|
||||
} else {
|
||||
base::PostTask(
|
||||
FROM_HERE, {content::BrowserThread::UI},
|
||||
CEF_POST_TASK(
|
||||
CEF_UIT,
|
||||
base::BindOnce(
|
||||
&AlloyContentRendererClient::RunSingleProcessCleanupOnUIThread,
|
||||
base::Unretained(this)));
|
||||
@@ -486,10 +485,10 @@ void AlloyContentRendererClient::AppendContentSecurityPolicy(
|
||||
if (!extension)
|
||||
return;
|
||||
|
||||
// Append a default CSP to ensure the extension can't relax the default
|
||||
// Append a minimum CSP to ensure the extension can't relax the default
|
||||
// applied CSP through means like Service Worker.
|
||||
const std::string* default_csp =
|
||||
extensions::CSPInfo::GetDefaultCSPToAppend(*extension, gurl.path());
|
||||
extensions::CSPInfo::GetMinimumCSPToAppend(*extension, gurl.path());
|
||||
if (!default_csp)
|
||||
return;
|
||||
|
||||
|
@@ -40,6 +40,7 @@
|
||||
#include "third_party/blink/public/platform/web_data.h"
|
||||
#include "third_party/blink/public/platform/web_string.h"
|
||||
#include "third_party/blink/public/platform/web_url.h"
|
||||
#include "third_party/blink/public/platform/web_url_loader.h"
|
||||
#include "third_party/blink/public/web/blink.h"
|
||||
#include "third_party/blink/public/web/web_document.h"
|
||||
#include "third_party/blink/public/web/web_document_loader.h"
|
||||
@@ -332,7 +333,7 @@ void CefFrameImpl::OnDidFinishLoad() {
|
||||
return;
|
||||
|
||||
blink::WebDocumentLoader* dl = frame_->GetDocumentLoader();
|
||||
const int http_status_code = dl->GetResponse().HttpStatusCode();
|
||||
const int http_status_code = dl->GetWebResponse().HttpStatusCode();
|
||||
|
||||
SendToBrowserFrame(__FUNCTION__,
|
||||
base::BindOnce(
|
||||
|
Reference in New Issue
Block a user