mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-04-15 19:27:23 +02:00
- Building on Windows now requires the Windows 10.0.10586 SDK. - Remove CefParseCSSColor which was implemented using Blink code in the browser process. This is longer advisable now that the Oilpan GC is enabled. - Avoid potential renderer process crashes by disabling script actions on the CefV8Context passed to CefRenderProcessHandler::OnContextReleased.
31 lines
1.4 KiB
Diff
31 lines
1.4 KiB
Diff
diff --git ui/browser.cc ui/browser.cc
|
|
index 8ceee96..da77140 100644
|
|
--- ui/browser.cc
|
|
+++ ui/browser.cc
|
|
@@ -1726,7 +1726,9 @@ bool Browser::ShouldCreateWebContents(
|
|
const std::string& frame_name,
|
|
const GURL& target_url,
|
|
const std::string& partition_id,
|
|
- content::SessionStorageNamespace* session_storage_namespace) {
|
|
+ content::SessionStorageNamespace* session_storage_namespace,
|
|
+ content::WebContentsView** view,
|
|
+ content::RenderViewHostDelegateView** delegate_view) {
|
|
if (window_container_type == WINDOW_CONTAINER_TYPE_BACKGROUND) {
|
|
// If a BackgroundContents is created, suppress the normal WebContents.
|
|
return !MaybeCreateBackgroundContents(
|
|
diff --git ui/browser.h ui/browser.h
|
|
index 37d23b3..37c9ea9 100644
|
|
--- ui/browser.h
|
|
+++ ui/browser.h
|
|
@@ -600,7 +600,9 @@ class Browser : public TabStripModelObserver,
|
|
const std::string& frame_name,
|
|
const GURL& target_url,
|
|
const std::string& partition_id,
|
|
- content::SessionStorageNamespace* session_storage_namespace) override;
|
|
+ content::SessionStorageNamespace* session_storage_namespace,
|
|
+ content::WebContentsView** view,
|
|
+ content::RenderViewHostDelegateView** delegate_view) override;
|
|
void WebContentsCreated(content::WebContents* source_contents,
|
|
int opener_render_frame_id,
|
|
const std::string& frame_name,
|