1
0
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:
Salvador Diaz Fau
2017-03-22 15:22:11 +01:00
parent 68769fdda2
commit b5b9547d28
23 changed files with 456 additions and 301 deletions

View File

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