#根据https://blog.csdn.net/yixiao0307/article/details/119910984 创建了一个cef,但是我的cef版本是chromium-111.0.5563.65_windows64,而文章上面的版本则是32位且比较老的版本了,当我根据文章写到CCefBrowserEventHandler.cpp,发现报错。
#错误代码为:
void CCefBrowserEventHandler::CloseAllBrowsers(bool force_close) {
if (!CefCurrentlyOn(TID_UI)) {
// Execute on the UI thread.
CefPostTask(TID_UI, base::Bind(&CCefBrowserEventHandler::CloseAllBrowsers, this, force_close));
return;
}
#提示找不到“Bind”,然后我看来一下base里面确实没有Bind,只有“BindOnce”和“BindRepeating”,但是替换上去还是报错,请问怎么解决。