mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1011685 - Call ipc InitUIThread from MetroAppShell Init. Follow up for bug 1009590. r=me
This commit is contained in:
parent
1a0f44f0e2
commit
62bd3e31c1
@ -8,6 +8,7 @@
|
||||
#include "mozilla/AutoRestore.h"
|
||||
#include "mozilla/TimeStamp.h"
|
||||
#include "mozilla/widget/AudioSession.h"
|
||||
#include "mozilla/ipc/WindowsMessageLoop.h"
|
||||
|
||||
#include "nsIObserverService.h"
|
||||
#include "nsIAppStartup.h"
|
||||
@ -73,6 +74,8 @@ MetroAppShell::Init()
|
||||
WNDCLASSW wc;
|
||||
HINSTANCE module = GetModuleHandle(nullptr);
|
||||
|
||||
mozilla::ipc::windows::InitUIThread();
|
||||
|
||||
const char16_t *const kWindowClass = L"nsAppShell:EventWindowClass";
|
||||
if (!GetClassInfoW(module, kWindowClass, &wc)) {
|
||||
wc.style = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user