mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
chrome: Use default Browser creation for picture-in-picture popups (see issue #3448)
Note: In current master (based on M111), document PiP partially works when run with the `--enable-features=DocumentPictureInPictureAPI` command-line flag. However, the document PiP implementation at this Chromium version is missing fixes that have already been cherry-picked to the 5563 release branch. Those fixes will only be available in master after the next Chromium update (to M112).
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=499cb70269cbe05c9bba4b0672a26116f7436f76$
|
||||
// $hash=8b92c198857b0ca5c3ddc9b2c8a82febe7ed8cde$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/views/browser_view_delegate_cpptoc.h"
|
||||
@ -111,11 +111,7 @@ browser_view_delegate_get_delegate_for_popup_browser_view(
|
||||
NOTREACHED() << "invalid settings->[base.]size";
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: client; type: refptr_same
|
||||
DCHECK(client);
|
||||
if (!client) {
|
||||
return NULL;
|
||||
}
|
||||
// Unverified params: client
|
||||
|
||||
// Translate param: settings; type: struct_byref_const
|
||||
CefBrowserSettings settingsObj;
|
||||
|
Reference in New Issue
Block a user