mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 810470. Part 5: Remove more unused code. r=mattwoodrow
--HG-- extra : rebase_source : 1e92e771f1da6c666eac5928a5dbe672384f3c38
This commit is contained in:
parent
3c634e99a3
commit
ebb4aca7a5
@ -2926,8 +2926,6 @@ nsCSSRendering::PrepareBackgroundLayer(nsPresContext* aPresContext,
|
||||
// of aForFrame's border-box will be rendered)
|
||||
nsPoint imageTopLeft;
|
||||
if (NS_STYLE_BG_ATTACHMENT_FIXED == aLayer.mAttachment) {
|
||||
aPresContext->SetHasFixedBackgroundFrame();
|
||||
|
||||
if ((aFlags & nsCSSRendering::PAINTBG_TO_WINDOW) &&
|
||||
!IsTransformed(aForFrame, attachedToFrame)) {
|
||||
// Clip background-attachment:fixed backgrounds to the viewport, if we're
|
||||
|
@ -939,9 +939,6 @@ public:
|
||||
PropertyTable()->DeleteAllFor(aFrame);
|
||||
}
|
||||
|
||||
bool MayHaveFixedBackgroundFrames() { return mMayHaveFixedBackgroundFrames; }
|
||||
void SetHasFixedBackgroundFrame() { mMayHaveFixedBackgroundFrames = true; }
|
||||
|
||||
virtual size_t SizeOfExcludingThis(nsMallocSizeOfFun aMallocSizeOf) const;
|
||||
virtual size_t SizeOfIncludingThis(nsMallocSizeOfFun aMallocSizeOf) const {
|
||||
return aMallocSizeOf(this) + SizeOfExcludingThis(aMallocSizeOf);
|
||||
@ -1221,7 +1218,6 @@ protected:
|
||||
unsigned mPendingUIResolutionChanged : 1;
|
||||
unsigned mPendingMediaFeatureValuesChanged : 1;
|
||||
unsigned mPrefChangePendingNeedsReflow : 1;
|
||||
unsigned mMayHaveFixedBackgroundFrames : 1;
|
||||
// True if the requests in mInvalidateRequestsSinceLastPaint cover the
|
||||
// entire viewport
|
||||
unsigned mAllInvalidated : 1;
|
||||
|
Loading…
Reference in New Issue
Block a user