$OpenBSD$ index f72c017..288ae57 100644 --- widget/windows/nsAppShell.cpp.orig Fri Feb 20 15:40:39 2015 +++ widget/windows/nsAppShell.cpp Fri Feb 20 15:40:39 2015 @@ -4,6 +4,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "mozilla/ipc/MessageChannel.h" +#include "mozilla/ipc/WindowsMessageLoop.h" #include "nsAppShell.h" #include "nsToolkit.h" #include "nsThreadUtils.h" @@ -144,6 +145,8 @@ nsAppShell::Init() mLastNativeEventScheduled = TimeStamp::NowLoRes(); + mozilla::ipc::windows::InitUIThread(); + sTaskbarButtonCreatedMsg = ::RegisterWindowMessageW(kTaskbarButtonEventId); NS_ASSERTION(sTaskbarButtonCreatedMsg, "Could not register taskbar button creation message");