2015-01-09 18:22:10 +01:00
|
|
|
diff --git ui/browser.cc ui/browser.cc
|
2016-01-06 20:20:54 +01:00
|
|
|
index 1f41d7c..7ebcc2d 100644
|
2015-01-09 18:22:10 +01:00
|
|
|
--- ui/browser.cc
|
|
|
|
+++ ui/browser.cc
|
2016-01-06 20:20:54 +01:00
|
|
|
@@ -1708,7 +1708,9 @@ bool Browser::ShouldCreateWebContents(
|
2015-07-24 02:06:56 +02:00
|
|
|
const std::string& frame_name,
|
2015-01-09 18:22:10 +01:00
|
|
|
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.
|
2015-11-10 21:18:16 +01:00
|
|
|
return !MaybeCreateBackgroundContents(
|
2015-01-09 18:22:10 +01:00
|
|
|
diff --git ui/browser.h ui/browser.h
|
2016-01-06 20:20:54 +01:00
|
|
|
index e3f6b883..1861b68 100644
|
2015-01-09 18:22:10 +01:00
|
|
|
--- ui/browser.h
|
|
|
|
+++ ui/browser.h
|
2016-01-06 20:20:54 +01:00
|
|
|
@@ -598,7 +598,9 @@ class Browser : public TabStripModelObserver,
|
2015-07-24 02:06:56 +02:00
|
|
|
const std::string& frame_name,
|
2015-01-09 18:22:10 +01:00
|
|
|
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,
|
2015-07-24 02:06:56 +02:00
|
|
|
const std::string& frame_name,
|