mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-16 20:02:24 +01:00
8da8a4fbf1
- The ffmpeg library is now statically linked (see https://codereview.chromium.org/1141703002). - Off-screen rendering of the PDF viewer does not work in combination with surfaces. Pass the `--disable-surfaces` command-line flag if GPU is enabled (see https://codereview.chromium.org/1169983006).
31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
diff --git web_dialog_view.cc web_dialog_view.cc
|
|
index 4b5e8b2..1501d0b 100644
|
|
--- web_dialog_view.cc
|
|
+++ web_dialog_view.cc
|
|
@@ -340,7 +340,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 dc6598d..ce2616c 100644
|
|
--- web_dialog_view.h
|
|
+++ web_dialog_view.h
|
|
@@ -119,7 +119,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);
|