mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
Bug 1022612. Part 13: Set mDidComputeVisibility in ProcessDisplayItems. r=mattwoodrow
--HG-- extra : rebase_source : c1a929e549c437388aa308b3dfda68b923eb0236
This commit is contained in:
parent
54efd05508
commit
205642625c
@ -2750,6 +2750,7 @@ ContainerState::ProcessDisplayItems(nsDisplayList* aList,
|
|||||||
}
|
}
|
||||||
|
|
||||||
aList->AppendToTop(&savedItems);
|
aList->AppendToTop(&savedItems);
|
||||||
|
aList->SetDidComputeVisibility();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -1704,10 +1704,21 @@ public:
|
|||||||
bool DidComputeVisibility() const { return mDidComputeVisibility; }
|
bool DidComputeVisibility() const { return mDidComputeVisibility; }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void SetDidComputeVisibility()
|
||||||
|
{
|
||||||
|
#if defined(DEBUG) || defined(MOZ_DUMP_PAINTING)
|
||||||
|
mDidComputeVisibility = true;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
void SetIsOpaque()
|
void SetIsOpaque()
|
||||||
{
|
{
|
||||||
mIsOpaque = true;
|
mIsOpaque = true;
|
||||||
}
|
}
|
||||||
|
void SetNeedsTransparentSurface()
|
||||||
|
{
|
||||||
|
mForceTransparentSurface = true;
|
||||||
|
}
|
||||||
|
|
||||||
nsRect GetVisibleRect() const { return mVisibleRect; }
|
nsRect GetVisibleRect() const { return mVisibleRect; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user