2015-01-09 17:22:10 +00:00
|
|
|
diff --git ui/browser.cc ui/browser.cc
|
2015-10-09 11:23:12 -04:00
|
|
|
index 36d24b6..bbc5075 100644
|
2015-01-09 17:22:10 +00:00
|
|
|
--- ui/browser.cc
|
|
|
|
+++ ui/browser.cc
|
2015-10-09 11:23:12 -04:00
|
|
|
@@ -1669,7 +1669,9 @@ bool Browser::ShouldCreateWebContents(
|
2015-07-23 20:06:56 -04:00
|
|
|
const std::string& frame_name,
|
2015-01-09 17:22:10 +00: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.
|
|
|
|
return !MaybeCreateBackgroundContents(route_id,
|
|
|
|
diff --git ui/browser.h ui/browser.h
|
2015-10-09 11:23:12 -04:00
|
|
|
index e296569..bf03785 100644
|
2015-01-09 17:22:10 +00:00
|
|
|
--- ui/browser.h
|
|
|
|
+++ ui/browser.h
|
2015-10-09 11:23:12 -04:00
|
|
|
@@ -591,7 +591,9 @@ class Browser : public TabStripModelObserver,
|
2015-07-23 20:06:56 -04:00
|
|
|
const std::string& frame_name,
|
2015-01-09 17:22:10 +00: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-23 20:06:56 -04:00
|
|
|
const std::string& frame_name,
|