зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1810487 - Fix non-unified build on nsWindowTaskbarConcealer. r=rkraesig
No behavior change. Differential Revision: https://phabricator.services.mozilla.com/D166895
This commit is contained in:
Родитель
2ca3fe141f
Коммит
65a603aa1c
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ class nsWindow::TaskbarConcealer {
|
|||
HMONITOR monitor;
|
||||
bool isGkFullscreen;
|
||||
};
|
||||
static Maybe<WindowState> GetWindowState(HWND);
|
||||
static mozilla::Maybe<WindowState> GetWindowState(HWND);
|
||||
|
||||
static nsTHashMap<HWND, HMONITOR> sKnownWindows;
|
||||
struct Impl;
|
||||
|
|
Загрузка…
Ссылка в новой задаче