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:
Marshall Greenblatt 2011-05-25 13:20:20 +00:00
parent 73f4d5a5e6
commit 387b24e382
1 changed files with 7 additions and 8 deletions

View File

@ -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;