mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 02:25:34 +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->SetDidComputeVisibility();
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -1704,10 +1704,21 @@ public:
|
||||
bool DidComputeVisibility() const { return mDidComputeVisibility; }
|
||||
#endif
|
||||
|
||||
void SetDidComputeVisibility()
|
||||
{
|
||||
#if defined(DEBUG) || defined(MOZ_DUMP_PAINTING)
|
||||
mDidComputeVisibility = true;
|
||||
#endif
|
||||
}
|
||||
void SetIsOpaque()
|
||||
{
|
||||
mIsOpaque = true;
|
||||
}
|
||||
void SetNeedsTransparentSurface()
|
||||
{
|
||||
mForceTransparentSurface = true;
|
||||
}
|
||||
|
||||
nsRect GetVisibleRect() const { return mVisibleRect; }
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user