31 lines
1.4 KiB
Diff
31 lines
1.4 KiB
Diff
diff --git ui/browser.cc ui/browser.cc
|
|
index 53dfccd..771bd25 100644
|
|
--- ui/browser.cc
|
|
+++ ui/browser.cc
|
|
@@ -1578,7 +1578,9 @@ bool Browser::ShouldCreateWebContents(
|
|
const base::string16& 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(route_id,
|
|
diff --git ui/browser.h ui/browser.h
|
|
index fcb711c..5a59434 100644
|
|
--- ui/browser.h
|
|
+++ ui/browser.h
|
|
@@ -588,7 +588,9 @@ class Browser : public TabStripModelObserver,
|
|
const base::string16& 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 base::string16& frame_name,
|