зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 0ce26a65c8dd (bug 854421)
This commit is contained in:
Родитель
59513799f4
Коммит
b65fcdc520
|
@ -39,9 +39,6 @@ public:
|
|||
|
||||
bool IPCOpen() const { return mIPCOpen; }
|
||||
|
||||
void SetHasNoCompositor() { mHasNoCompositor = true; }
|
||||
bool HasNoCompositor() { return mHasNoCompositor; }
|
||||
|
||||
void SetForwarder(ShadowLayerForwarder* aForwarder)
|
||||
{
|
||||
mForwarder = aForwarder;
|
||||
|
@ -49,10 +46,9 @@ public:
|
|||
|
||||
protected:
|
||||
LayerTransactionChild()
|
||||
: mForwarder(nullptr)
|
||||
, mIPCOpen(false)
|
||||
: mIPCOpen(false)
|
||||
, mDestroyed(false)
|
||||
, mHasNoCompositor(false)
|
||||
, mForwarder(nullptr)
|
||||
{}
|
||||
~LayerTransactionChild() { }
|
||||
|
||||
|
@ -84,10 +80,9 @@ protected:
|
|||
friend class CompositorChild;
|
||||
friend class layout::RenderFrameChild;
|
||||
|
||||
ShadowLayerForwarder* mForwarder;
|
||||
bool mIPCOpen;
|
||||
bool mDestroyed;
|
||||
bool mHasNoCompositor;
|
||||
ShadowLayerForwarder* mForwarder;
|
||||
};
|
||||
|
||||
} // namespace layers
|
||||
|
|
|
@ -37,11 +37,6 @@ RenderFrameChild::AllocPLayerTransactionChild()
|
|||
{
|
||||
LayerTransactionChild* c = new LayerTransactionChild();
|
||||
c->AddIPDLReference();
|
||||
// We only create PLayerTransaction objects through PRenderFrame when we don't
|
||||
// have a PCompositor. This means that the child process content will never
|
||||
// get drawn to the screen, but some tests rely on it pretending to function
|
||||
// for now.
|
||||
c->SetHasNoCompositor();
|
||||
return c;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче