diff options
Diffstat (limited to 'widget/windows/nsWindow.h')
-rw-r--r-- | widget/windows/nsWindow.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/windows/nsWindow.h b/widget/windows/nsWindow.h index c75c9d174d..3a521fb978 100644 --- a/widget/windows/nsWindow.h +++ b/widget/windows/nsWindow.h @@ -887,8 +887,8 @@ class nsWindow final : public nsBaseWidget { mozilla::UniquePtr<mozilla::widget::DirectManipulationOwner> mDmOwner; // Client rect for minimize, maximize and close buttons. - mozilla::EnumeratedArray<WindowButtonType, WindowButtonType::Count, - LayoutDeviceIntRect> + mozilla::EnumeratedArray<WindowButtonType, LayoutDeviceIntRect, + size_t(WindowButtonType::Count)> mWindowBtnRect; mozilla::DataMutex<Desktop> mDesktopId; |