mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Windows: Fix crash on touch press text selection (issue #2149)
This commit is contained in:
@ -45,6 +45,7 @@
|
||||
#include "ui/display/screen.h"
|
||||
#include "ui/views/test/desktop_test_views_delegate.h"
|
||||
#include "ui/views/widget/desktop_aura/desktop_screen.h"
|
||||
#include "ui/wm/core/wm_state.h"
|
||||
|
||||
#if defined(OS_WIN)
|
||||
#include "libcef/common/crash_reporting_win.h"
|
||||
@ -134,6 +135,8 @@ void CefBrowserMainParts::ToolkitInitialized() {
|
||||
|
||||
new views::DesktopTestViewsDelegate;
|
||||
|
||||
wm_state_.reset(new wm::WMState);
|
||||
|
||||
#if defined(OS_WIN)
|
||||
ui::CursorLoaderWin::SetCursorResourceModule(
|
||||
CefContentBrowserClient::Get()->GetResourceDllName());
|
||||
|
Reference in New Issue
Block a user