mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1162366 - Fix spelling of nsPresContext::mSupressResizeReflow and associated methods. r=dholbert
This commit is contained in:
parent
950ef8801f
commit
51bf4622a3
@ -1493,8 +1493,8 @@ nsPresContext::SetFullZoom(float aZoom)
|
||||
float oldHeightDevPixels = oldHeightAppUnits / float(mCurAppUnitsPerDevPixel);
|
||||
mDeviceContext->SetFullZoom(aZoom);
|
||||
|
||||
NS_ASSERTION(!mSupressResizeReflow, "two zooms happening at the same time? impossible!");
|
||||
mSupressResizeReflow = true;
|
||||
NS_ASSERTION(!mSuppressResizeReflow, "two zooms happening at the same time? impossible!");
|
||||
mSuppressResizeReflow = true;
|
||||
|
||||
mFullZoom = aZoom;
|
||||
mShell->GetViewManager()->
|
||||
@ -1503,7 +1503,7 @@ nsPresContext::SetFullZoom(float aZoom)
|
||||
|
||||
AppUnitsPerDevPixelChanged();
|
||||
|
||||
mSupressResizeReflow = false;
|
||||
mSuppressResizeReflow = false;
|
||||
}
|
||||
|
||||
gfxSize
|
||||
|
@ -870,7 +870,7 @@ public:
|
||||
// as that value may be out of date when mPaintFlashingInitialized is false.
|
||||
bool GetPaintFlashing() const;
|
||||
|
||||
bool SupressingResizeReflow() const { return mSupressResizeReflow; }
|
||||
bool SuppressingResizeReflow() const { return mSuppressResizeReflow; }
|
||||
|
||||
virtual gfxUserFontSet* GetUserFontSetExternal();
|
||||
gfxUserFontSet* GetUserFontSetInternal();
|
||||
@ -1374,7 +1374,7 @@ protected:
|
||||
|
||||
// resize reflow is suppressed when the only change has been to zoom
|
||||
// the document rather than to change the document's dimensions
|
||||
unsigned mSupressResizeReflow : 1;
|
||||
unsigned mSuppressResizeReflow : 1;
|
||||
|
||||
unsigned mIsVisual : 1;
|
||||
|
||||
|
@ -2041,7 +2041,7 @@ PresShell::ResizeReflowIgnoreOverride(nscoord aWidth, nscoord aHeight)
|
||||
// Take this ref after viewManager so it'll make sure to go away first.
|
||||
nsCOMPtr<nsIPresShell> kungFuDeathGrip(this);
|
||||
|
||||
if (!GetPresContext()->SupressingResizeReflow()) {
|
||||
if (!GetPresContext()->SuppressingResizeReflow()) {
|
||||
// Have to make sure that the content notifications are flushed before we
|
||||
// start messing with the frame model; otherwise we can get content doubling.
|
||||
mDocument->FlushPendingNotifications(Flush_ContentAndNotify);
|
||||
|
Loading…
Reference in New Issue
Block a user