mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00
Bug 1414690 - Remove nsIFrame::IsPseudoStackingContextFromStyle. r=dholbert
The last places that call this function have been removed in https://hg.mozilla.org/mozilla-central/rev/0f7e0529ee3f, and never been used since then. MozReview-Commit-ID: FQtnwRHQ8cH --HG-- extra : rebase_source : 3c40d0077c4b38771deed7055fbc5e22be8a071f
This commit is contained in:
parent
0ebbbb8320
commit
0f51960be1
@ -3541,7 +3541,6 @@ nsIFrame::BuildDisplayListForChild(nsDisplayListBuilder* aBuilder,
|
||||
disp->mIsolation != NS_STYLE_ISOLATION_AUTO ||
|
||||
(disp->mWillChangeBitField & NS_STYLE_WILL_CHANGE_STACKING_CONTEXT) ||
|
||||
(aFlags & DISPLAY_CHILD_FORCE_STACKING_CONTEXT)) {
|
||||
// If you change this, also change IsPseudoStackingContextFromStyle()
|
||||
pseudoStackingContext = true;
|
||||
awayFromCommonPath = true;
|
||||
}
|
||||
@ -10864,19 +10863,6 @@ nsIFrame::DestroyWebRenderUserDataTable(WebRenderUserDataTable* aTable)
|
||||
delete aTable;
|
||||
}
|
||||
|
||||
bool
|
||||
nsIFrame::IsPseudoStackingContextFromStyle() {
|
||||
// If you change this, also change the computation of pseudoStackingContext
|
||||
// in BuildDisplayListForChild()
|
||||
if (StyleEffects()->mOpacity != 1.0f) {
|
||||
return true;
|
||||
}
|
||||
const nsStyleDisplay* disp = StyleDisplay();
|
||||
return disp->IsAbsPosContainingBlock(this) ||
|
||||
disp->IsFloating(this) ||
|
||||
(disp->mWillChangeBitField & NS_STYLE_WILL_CHANGE_STACKING_CONTEXT);
|
||||
}
|
||||
|
||||
bool
|
||||
nsIFrame::IsVisuallyAtomic(EffectSet* aEffectSet,
|
||||
const nsStyleDisplay* aStyleDisplay,
|
||||
|
@ -3487,14 +3487,6 @@ public:
|
||||
*/
|
||||
virtual bool IsVisibleInSelection(nsISelection* aSelection);
|
||||
|
||||
/**
|
||||
* Determines whether this frame is a pseudo stacking context, looking
|
||||
* only as style --- i.e., assuming that it's in-flow and not a replaced
|
||||
* element and not an SVG element.
|
||||
* XXX maybe check IsTransformed()?
|
||||
*/
|
||||
bool IsPseudoStackingContextFromStyle();
|
||||
|
||||
/**
|
||||
* Determines if this frame has a container effect that requires
|
||||
* it to paint as a visually atomic unit.
|
||||
|
Loading…
x
Reference in New Issue
Block a user