mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Depend directly on chrome targets and unfork code (issue #1947)
This commit is contained in:
@@ -18,7 +18,7 @@ bool CefMenuRunnerWin::RunContextMenu(
|
||||
CefMenuModelImpl* model,
|
||||
const content::ContextMenuParams& params) {
|
||||
// Create a menu based on the model.
|
||||
menu_.reset(new views::NativeMenuWin(model->model(), NULL));
|
||||
menu_.reset(new views::CefNativeMenuWin(model->model(), NULL));
|
||||
menu_->Rebuild(NULL);
|
||||
|
||||
// Make sure events can be pumped while the menu is up.
|
||||
|
Reference in New Issue
Block a user