1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-11-23 21:34:53 +02:00

Update to CEF 110.0.32

This commit is contained in:
salvadordf
2023-03-10 09:58:27 +01:00
parent f2e3d2ffad
commit bf2f424d1e
5 changed files with 15 additions and 14 deletions

View File

@@ -171,7 +171,6 @@ var
begin
Result := False;
{$IFDEF MSWINDOWS}
if (aBitmap = nil) then exit;
TempHWND := ChildWindowHandle;
if (TempHWND = 0) then exit;
@@ -180,7 +179,9 @@ begin
TempWidth := TempRect.Right - TempRect.Left;
TempHeight := TempRect.Bottom - TempRect.Top;
aBitmap := TBitmap.Create;
if (aBitmap = nil) then
aBitmap := TBitmap.Create;
aBitmap.Height := TempHeight;
aBitmap.Width := TempWidth;