mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 89.0.4389.0 (#843830)
- SSE3 is now required on x86 processors (see https://crbug.com/1123353).
This commit is contained in:
@ -10,10 +10,10 @@ index ff7a8ed89e94..77f44956ff22 100644
|
||||
+ GetPlugins(bool refresh, bool is_main_frame, url.mojom.Origin main_frame_origin) => (array<PluginInfo> plugins);
|
||||
};
|
||||
diff --git third_party/blink/public/platform/platform.h third_party/blink/public/platform/platform.h
|
||||
index 358f3c1d004c..43204c5d6d88 100644
|
||||
index e43136e0621f..59a8d59fcc64 100644
|
||||
--- third_party/blink/public/platform/platform.h
|
||||
+++ third_party/blink/public/platform/platform.h
|
||||
@@ -754,6 +754,11 @@ class BLINK_PLATFORM_EXPORT Platform {
|
||||
@@ -773,6 +773,11 @@ class BLINK_PLATFORM_EXPORT Platform {
|
||||
// unset pass an empty WebURL and WebString.
|
||||
virtual void SetActiveURL(const WebURL& url, const WebString& top_url) {}
|
||||
|
||||
@ -26,10 +26,10 @@ index 358f3c1d004c..43204c5d6d88 100644
|
||||
static void InitializeMainThreadCommon(Platform* platform,
|
||||
std::unique_ptr<Thread> main_thread);
|
||||
diff --git third_party/blink/renderer/core/dom/document_init.cc third_party/blink/renderer/core/dom/document_init.cc
|
||||
index d49dc7cb85d5..dc4af48a458d 100644
|
||||
index 570678bc648c..42d979f2a496 100644
|
||||
--- third_party/blink/renderer/core/dom/document_init.cc
|
||||
+++ third_party/blink/renderer/core/dom/document_init.cc
|
||||
@@ -182,11 +182,11 @@ PluginData* DocumentInit::GetPluginData(LocalFrame* frame, const KURL& url) {
|
||||
@@ -180,11 +180,11 @@ PluginData* DocumentInit::GetPluginData(LocalFrame* frame, const KURL& url) {
|
||||
// frame()->tree().top()->securityContext() returns nullptr.
|
||||
// For that reason, the origin must be retrieved directly from |url|.
|
||||
if (frame->IsMainFrame())
|
||||
@ -44,12 +44,12 @@ index d49dc7cb85d5..dc4af48a458d 100644
|
||||
|
||||
DocumentInit& DocumentInit::WithTypeFrom(const String& mime_type) {
|
||||
diff --git third_party/blink/renderer/core/frame/local_frame.cc third_party/blink/renderer/core/frame/local_frame.cc
|
||||
index 4315a68fb8d5..efcf6760b52e 100644
|
||||
index aa8952f06c9d..1fed8c0efe80 100644
|
||||
--- third_party/blink/renderer/core/frame/local_frame.cc
|
||||
+++ third_party/blink/renderer/core/frame/local_frame.cc
|
||||
@@ -1795,7 +1795,7 @@ WebContentSettingsClient* LocalFrame::GetContentSettingsClient() {
|
||||
@@ -1811,7 +1811,7 @@ WebContentSettingsClient* LocalFrame::GetContentSettingsClient() {
|
||||
PluginData* LocalFrame::GetPluginData() const {
|
||||
if (!Loader().AllowPlugins(kNotAboutToInstantiatePlugin))
|
||||
if (!Loader().AllowPlugins())
|
||||
return nullptr;
|
||||
- return GetPage()->GetPluginData(
|
||||
+ return GetPage()->GetPluginData(IsMainFrame(),
|
||||
@ -85,10 +85,10 @@ index 0608c4defc6d..54eaa2197957 100644
|
||||
|
||||
void DevToolsSession::DispatchProtocolCommand(
|
||||
diff --git third_party/blink/renderer/core/page/page.cc third_party/blink/renderer/core/page/page.cc
|
||||
index 5e42e49edcef..85932795bc65 100644
|
||||
index 022b95ec4ecc..ba58b796e35e 100644
|
||||
--- third_party/blink/renderer/core/page/page.cc
|
||||
+++ third_party/blink/renderer/core/page/page.cc
|
||||
@@ -220,7 +220,8 @@ Page::Page(PageClients& page_clients)
|
||||
@@ -212,7 +212,8 @@ Page::Page(PageClients& page_clients)
|
||||
MakeGarbageCollected<OverscrollController>(GetVisualViewport(),
|
||||
GetChromeClient())),
|
||||
link_highlight_(MakeGarbageCollected<LinkHighlight>(*this)),
|
||||
@ -98,7 +98,7 @@ index 5e42e49edcef..85932795bc65 100644
|
||||
// TODO(pdr): Initialize |validation_message_client_| lazily.
|
||||
validation_message_client_(
|
||||
MakeGarbageCollected<ValidationMessageClientImpl>(*this)),
|
||||
@@ -400,21 +401,41 @@ void Page::InitialStyleChanged() {
|
||||
@@ -395,21 +396,41 @@ void Page::InitialStyleChanged() {
|
||||
}
|
||||
}
|
||||
|
||||
@ -149,7 +149,7 @@ index 5e42e49edcef..85932795bc65 100644
|
||||
page->NotifyPluginsChanged();
|
||||
}
|
||||
}
|
||||
@@ -930,7 +951,8 @@ void Page::Trace(Visitor* visitor) const {
|
||||
@@ -921,7 +942,8 @@ void Page::Trace(Visitor* visitor) const {
|
||||
visitor->Trace(link_highlight_);
|
||||
visitor->Trace(spatial_navigation_controller_);
|
||||
visitor->Trace(main_frame_);
|
||||
@ -157,13 +157,13 @@ index 5e42e49edcef..85932795bc65 100644
|
||||
+ visitor->Trace(plugin_data_main_frame_);
|
||||
+ visitor->Trace(plugin_data_sub_frame_);
|
||||
visitor->Trace(validation_message_client_);
|
||||
visitor->Trace(agent_metrics_collector_);
|
||||
visitor->Trace(plugins_changed_observers_);
|
||||
visitor->Trace(next_related_page_);
|
||||
diff --git third_party/blink/renderer/core/page/page.h third_party/blink/renderer/core/page/page.h
|
||||
index 65b72a9867bc..98569071f8b9 100644
|
||||
index e15111958f06..bfa43194b03b 100644
|
||||
--- third_party/blink/renderer/core/page/page.h
|
||||
+++ third_party/blink/renderer/core/page/page.h
|
||||
@@ -153,7 +153,8 @@ class CORE_EXPORT Page final : public GarbageCollected<Page>,
|
||||
@@ -152,7 +152,8 @@ class CORE_EXPORT Page final : public GarbageCollected<Page>,
|
||||
ViewportDescription GetViewportDescription() const;
|
||||
|
||||
// Returns the plugin data associated with |main_frame_origin|.
|
||||
@ -173,7 +173,7 @@ index 65b72a9867bc..98569071f8b9 100644
|
||||
|
||||
// Resets the plugin data for all pages in the renderer process and notifies
|
||||
// PluginsChangedObservers.
|
||||
@@ -437,7 +438,8 @@ class CORE_EXPORT Page final : public GarbageCollected<Page>,
|
||||
@@ -434,7 +435,8 @@ class CORE_EXPORT Page final : public GarbageCollected<Page>,
|
||||
const Member<LinkHighlight> link_highlight_;
|
||||
Member<SpatialNavigationController> spatial_navigation_controller_;
|
||||
|
||||
|
Reference in New Issue
Block a user