You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-06-12 22:07:39 +02:00
Update to CEF 3.2987.1596.gc2b4638
* New properties in TCEFApplication : SmoothScrolling, FastUnload, DisableSafeBrowsing. * Bug fix in CefResponseFilter. Thanks to Zdravko Gabrovski! * MiniBrowser now has a context menu option to visit the DOM.
This commit is contained in:
@ -95,16 +95,17 @@ end;
|
||||
|
||||
class function TCefProcessMessageRef.New(const name: ustring): ICefProcessMessage;
|
||||
var
|
||||
n: TCefString;
|
||||
TempString : TCefString;
|
||||
begin
|
||||
n := CefString(name);
|
||||
Result := UnWrap(cef_process_message_create(@n));
|
||||
TempString := CefString(name);
|
||||
Result := UnWrap(cef_process_message_create(@TempString));
|
||||
end;
|
||||
|
||||
class function TCefProcessMessageRef.UnWrap(data: Pointer): ICefProcessMessage;
|
||||
begin
|
||||
if data <> nil then
|
||||
Result := Create(data) as ICefProcessMessage else
|
||||
if (data <> nil) then
|
||||
Result := Create(data) as ICefProcessMessage
|
||||
else
|
||||
Result := nil;
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user