mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 03:32:37 +00:00
Auto dispose of drag data
This commit is contained in:
@@ -800,10 +800,10 @@ namespace CefSharp
|
||||
return false;
|
||||
}
|
||||
|
||||
auto dragDataWrapper = gcnew CefDragDataWrapper(dragData);
|
||||
CefDragDataWrapper dragDataWrapper(dragData);
|
||||
CefSharpBrowserWrapper browserWrapper(browser, _browserAdapter);
|
||||
|
||||
return handler->OnDragEnter(_browserControl, %browserWrapper, dragDataWrapper, (CefSharp::DragOperationsMask)mask);
|
||||
return handler->OnDragEnter(_browserControl, %browserWrapper, %dragDataWrapper, (CefSharp::DragOperationsMask)mask);
|
||||
}
|
||||
|
||||
bool ClientAdapter::OnRequestGeolocationPermission(CefRefPtr<CefBrowser> browser, const CefString& requesting_url, int request_id, CefRefPtr<CefGeolocationCallback> callback)
|
||||
|
||||
Reference in New Issue
Block a user