Bug 1922250 - Initialize some fields in nsWindow.h. r=win-reviewers,rkraesig

Drive-by. These get set in nsWindow::Create but probably best to avoid
uninitialized memory.

Differential Revision: https://phabricator.services.mozilla.com/D224934
This commit is contained in:
Emilio Cobos Álvarez 2024-10-09 19:26:18 +00:00
parent fe6f936431
commit 83f348d103

View File

@ -775,12 +775,12 @@ class nsWindow final : public nsBaseWidget {
bool mTouchWindow = false;
bool mDisplayPanFeedback = false;
bool mHideChrome = false;
bool mIsRTL;
bool mIsRTL = false;
bool mMousePresent = false;
bool mSimulatedClientArea = false;
bool mDestroyCalled = false;
bool mOpeningAnimationSuppressed;
bool mAlwaysOnTop;
bool mOpeningAnimationSuppressed = false;
bool mAlwaysOnTop = false;
bool mIsEarlyBlankWindow = false;
bool mIsShowingPreXULSkeletonUI = false;
bool mResizable = false;