Backed out changeset 0ce26a65c8dd (bug 854421)

This commit is contained in:
Ed Morley 2014-05-29 10:56:04 +01:00
Родитель 59513799f4
Коммит b65fcdc520
2 изменённых файлов: 3 добавлений и 13 удалений

Просмотреть файл

@ -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;
}