Skip to content

Commit ad7e0cd

Browse files
committedNov 25, 2024
Bug 1933094 - Remove nsView::mVFlags. r=tnikkel,layout-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D230067
1 parent 382959a commit ad7e0cd

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed
 

‎view/nsView.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ nsView::nsView(nsViewManager* aViewManager, ViewVisibility aVisibility)
4040
mVis(aVisibility),
4141
mPosX(0),
4242
mPosY(0),
43-
mVFlags(0),
4443
mWidgetIsTopLevel(false),
4544
mForcedRepaint(false),
4645
mNeedsWindowPropertiesSync(false) {
@@ -676,7 +675,7 @@ void nsView::List(FILE* out, int32_t aIndent) const {
676675
nsRect brect = GetBounds();
677676
fprintf(out, "{%d,%d,%d,%d} @ %d,%d", brect.X(), brect.Y(), brect.Width(),
678677
brect.Height(), mPosX, mPosY);
679-
fprintf(out, " flags=%x vis=%d frame=%p <\n", mVFlags, int(mVis), mFrame);
678+
fprintf(out, " vis=%d frame=%p <\n", int(mVis), mFrame);
680679
for (nsView* kid = mFirstChild; kid; kid = kid->GetNextSibling()) {
681680
NS_ASSERTION(kid->GetParent() == this, "incorrect parent");
682681
kid->List(out, aIndent + 1);

‎view/nsView.h

-1
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,6 @@ class nsView final : public nsIWidgetListener {
484484
nsRect mDimBounds;
485485
// in our appunits
486486
nsPoint mViewToWidgetOffset;
487-
uint32_t mVFlags;
488487
bool mWidgetIsTopLevel;
489488
bool mForcedRepaint;
490489
bool mNeedsWindowPropertiesSync;

0 commit comments

Comments
 (0)
Failed to load comments.