You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-12-23 21:51:09 +02:00
Fixed an interface casting issue in old Delphi versions
This commit is contained in:
@@ -320,7 +320,7 @@ begin
|
||||
include_incognito <> 0,
|
||||
TempBrowser);
|
||||
|
||||
if (TempBrowser <> nil) and (TempBrowser is TCefBrowserRef) then
|
||||
if (TempBrowser <> nil) {$IFDEF DELPHI16_UP}and (TempBrowser is TCefBrowserRef){$ENDIF} then
|
||||
Result := TCefBrowserRef(TempBrowser).wrap;
|
||||
finally
|
||||
TempBrowser := nil;
|
||||
|
||||
Reference in New Issue
Block a user