2693008: Fix loading non-system cursors on Windows on browser_tests
https://chromium-review.googlesource.com/c/chromium/src/+/2693008
This commit is contained in:
parent
08330cb079
commit
3b183854ff
1 changed files with 0 additions and 5 deletions
|
@ -86,7 +86,6 @@
|
|||
#endif
|
||||
|
||||
#if defined(OS_WIN)
|
||||
#include "ui/base/cursor/win/win_cursor_factory.h"
|
||||
#include "ui/base/l10n/l10n_util_win.h"
|
||||
#include "ui/display/win/dpi.h"
|
||||
#include "ui/gfx/system_fonts_win.h"
|
||||
|
@ -405,10 +404,6 @@ void ElectronBrowserMainParts::ToolkitInitialized() {
|
|||
#if defined(OS_WIN)
|
||||
gfx::win::SetAdjustFontCallback(&AdjustUIFont);
|
||||
gfx::win::SetGetMinimumFontSizeCallback(&GetMinimumFontSize);
|
||||
|
||||
wchar_t module_name[MAX_PATH] = {0};
|
||||
if (GetModuleFileName(NULL, module_name, base::size(module_name)))
|
||||
ui::SetCursorResourceModule(module_name);
|
||||
#endif
|
||||
|
||||
#if defined(OS_MAC)
|
||||
|
|
Loading…
Reference in a new issue