diff --git a/widget/windows/nsWindowTaskbarConcealer.cpp b/widget/windows/nsWindowTaskbarConcealer.cpp index 19c58e871b38..052388765866 100644 --- a/widget/windows/nsWindowTaskbarConcealer.cpp +++ b/widget/windows/nsWindowTaskbarConcealer.cpp @@ -9,6 +9,11 @@ #define NS_TASKBAR_CONTRACTID "@mozilla.org/windows-taskbar;1" #include "mozilla/Logging.h" +#include "mozilla/StaticPrefs_widget.h" +#include "mozilla/WindowsVersion.h" +#include "WinUtils.h" + +using namespace mozilla; /** * TaskbarConcealerImpl @@ -106,7 +111,7 @@ nsWindow::TaskbarConcealer::GetWindowState(HWND aWnd) { // Non-nsWindow windows associated with this thread may include file dialogs // and IME input popups. - nsWindow* pWin = WinUtils::GetNSWindowPtr(aWnd); + nsWindow* pWin = widget::WinUtils::GetNSWindowPtr(aWnd); if (!pWin) { return Nothing(); } diff --git a/widget/windows/nsWindowTaskbarConcealer.h b/widget/windows/nsWindowTaskbarConcealer.h index ea2a8ab2d380..07c2691c52d5 100644 --- a/widget/windows/nsWindowTaskbarConcealer.h +++ b/widget/windows/nsWindowTaskbarConcealer.h @@ -42,7 +42,7 @@ class nsWindow::TaskbarConcealer { HMONITOR monitor; bool isGkFullscreen; }; - static Maybe GetWindowState(HWND); + static mozilla::Maybe GetWindowState(HWND); static nsTHashMap sKnownWindows; struct Impl;