mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-12 09:37:37 +01:00
31 lines
1.4 KiB
Diff
31 lines
1.4 KiB
Diff
diff --git ui/browser.cc ui/browser.cc
|
|
index 717381d..35f791b 100644
|
|
--- ui/browser.cc
|
|
+++ ui/browser.cc
|
|
@@ -1707,7 +1707,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 13ec6b4..6e8fffa 100644
|
|
--- ui/browser.h
|
|
+++ ui/browser.h
|
|
@@ -599,7 +599,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,
|