2015-01-09 18:22:10 +01:00
|
|
|
diff --git ui/browser.cc ui/browser.cc
|
2015-06-06 00:06:48 +02:00
|
|
|
index 1cc78f2..e2c4de0 100644
|
2015-01-09 18:22:10 +01:00
|
|
|
--- ui/browser.cc
|
|
|
|
+++ ui/browser.cc
|
2015-06-06 00:06:48 +02:00
|
|
|
@@ -1606,7 +1606,9 @@ bool Browser::ShouldCreateWebContents(
|
2015-01-09 18:22:10 +01:00
|
|
|
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
|
2015-06-06 00:06:48 +02:00
|
|
|
index c4a3a62..0cfedfa 100644
|
2015-01-09 18:22:10 +01:00
|
|
|
--- ui/browser.h
|
|
|
|
+++ ui/browser.h
|
2015-04-23 12:03:42 +02:00
|
|
|
@@ -590,7 +590,9 @@ class Browser : public TabStripModelObserver,
|
2015-01-09 18:22:10 +01:00
|
|
|
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,
|