зеркало из 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
|
||||
// painted content. Display its shadow layer tree.
|
||||
return aLists.Content()
|
||||
->AppendNewToTop(new (aBuilder) nsDisplayRemote(this, rfp));
|
||||
->AppendNewToTop(new (aBuilder) nsDisplayRemote(aBuilder, this, rfp));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -102,8 +102,9 @@ class nsDisplayRemote : public nsDisplayItem
|
|||
typedef mozilla::layout::RenderFrameParent RenderFrameParent;
|
||||
|
||||
public:
|
||||
nsDisplayRemote(nsIFrame* aFrame, RenderFrameParent* aRemoteFrame)
|
||||
: nsDisplayItem(aFrame)
|
||||
nsDisplayRemote(nsDisplayListBuilder* aBuilder, nsIFrame* aFrame,
|
||||
RenderFrameParent* aRemoteFrame)
|
||||
: nsDisplayItem(aBuilder, aFrame)
|
||||
, mRemoteFrame(aRemoteFrame)
|
||||
{}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче