mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Remove the url check from life_span_handler_on_before_popup because the URL will be NULL when clicking a link with target="_blank" (issue #247).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@244 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -27,11 +27,10 @@ int CEF_CALLBACK life_span_handler_on_before_popup(
|
||||
DCHECK(parentBrowser);
|
||||
DCHECK(popupFeatures);
|
||||
DCHECK(windowInfo);
|
||||
DCHECK(url);
|
||||
DCHECK(client);
|
||||
DCHECK(settings);
|
||||
if (!self || !parentBrowser || !popupFeatures || !windowInfo || !url ||
|
||||
!client || !settings)
|
||||
if (!self || !parentBrowser || !popupFeatures || !windowInfo || !client ||
|
||||
!settings)
|
||||
return 0;
|
||||
|
||||
CefWindowInfo wndInfo;
|
||||
|
Reference in New Issue
Block a user