31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
diff --git web_dialog_view.cc web_dialog_view.cc
|
|
index d8afe6e..59259b7 100644
|
|
--- web_dialog_view.cc
|
|
+++ web_dialog_view.cc
|
|
@@ -341,7 +341,9 @@ bool WebDialogView::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 (delegate_)
|
|
return delegate_->HandleShouldCreateWebContents();
|
|
return true;
|
|
diff --git web_dialog_view.h web_dialog_view.h
|
|
index 65be6d54..7802d6d 100644
|
|
--- web_dialog_view.h
|
|
+++ web_dialog_view.h
|
|
@@ -123,7 +123,9 @@ class WEBVIEW_EXPORT WebDialogView : public views::ClientView,
|
|
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;
|
|
|
|
private:
|
|
FRIEND_TEST_ALL_PREFIXES(WebDialogBrowserTest, WebContentRendered);
|