зеркало из https://github.com/mozilla/pjs.git
Update nsDisplayRemote to new nsDisplayItem interface
This commit is contained in:
Родитель
1cdac44b1d
Коммит
e67843deff
|
@ -388,7 +388,7 @@ nsSubDocumentFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
||||||
// We're the subdoc for <browser remote="true"> and it has
|
// We're the subdoc for <browser remote="true"> and it has
|
||||||
// painted content. Display its shadow layer tree.
|
// painted content. Display its shadow layer tree.
|
||||||
return aLists.Content()
|
return aLists.Content()
|
||||||
->AppendNewToTop(new (aBuilder) nsDisplayRemote(this, rfp));
|
->AppendNewToTop(new (aBuilder) nsDisplayRemote(aBuilder, this, rfp));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -102,8 +102,9 @@ class nsDisplayRemote : public nsDisplayItem
|
||||||
typedef mozilla::layout::RenderFrameParent RenderFrameParent;
|
typedef mozilla::layout::RenderFrameParent RenderFrameParent;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
nsDisplayRemote(nsIFrame* aFrame, RenderFrameParent* aRemoteFrame)
|
nsDisplayRemote(nsDisplayListBuilder* aBuilder, nsIFrame* aFrame,
|
||||||
: nsDisplayItem(aFrame)
|
RenderFrameParent* aRemoteFrame)
|
||||||
|
: nsDisplayItem(aBuilder, aFrame)
|
||||||
, mRemoteFrame(aRemoteFrame)
|
, mRemoteFrame(aRemoteFrame)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче