Hi, how can I call method in TID_UI?
I'm upgrading CEF version and in old code:
CefPostTask(TID_UI, base::Bind(&setZoomLevel, browser, delta));
was working well now because Bind has been removed I tried to use BindOnce instead but something is wrong.
CefPostTask(TID_UI, base::BindOnce(&setZoomLevel, browser, delta));
That's the declaration of a zoom method
void zoomLevel(CefRefPtr<CefBrowser> browser, double *level)
How am I supposed to call this method in UI thread without declaring another class which inherit from CefTask?