зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1486477 - Initialize nsDisplayCanvasThemedBackground properly r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D4438 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
bcbe910b2f
Коммит
a6b4ae3b60
|
@ -226,7 +226,9 @@ public:
|
||||||
nsDisplayCanvasThemedBackground(nsDisplayListBuilder* aBuilder, nsIFrame* aFrame)
|
nsDisplayCanvasThemedBackground(nsDisplayListBuilder* aBuilder, nsIFrame* aFrame)
|
||||||
: nsDisplayThemedBackground(aBuilder, aFrame,
|
: nsDisplayThemedBackground(aBuilder, aFrame,
|
||||||
aFrame->GetRectRelativeToSelf() + aBuilder->ToReferenceFrame(aFrame))
|
aFrame->GetRectRelativeToSelf() + aBuilder->ToReferenceFrame(aFrame))
|
||||||
{}
|
{
|
||||||
|
nsDisplayThemedBackground::Init(aBuilder);
|
||||||
|
}
|
||||||
|
|
||||||
virtual void Paint(nsDisplayListBuilder* aBuilder, gfxContext* aCtx) override;
|
virtual void Paint(nsDisplayListBuilder* aBuilder, gfxContext* aCtx) override;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче