mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Bug 944257 - Fix warning by removing unused ContentClientBasic member variable mManager. r=gal
This commit is contained in:
parent
b3756eee30
commit
c94a0e8c44
@ -156,9 +156,9 @@ BasicThebesLayer::Validate(LayerManager::DrawThebesLayerCallback aCallback,
|
||||
void* aCallbackData)
|
||||
{
|
||||
if (!mContentClient) {
|
||||
// we pass a null pointer for the Forwarder argument, which means
|
||||
// this will not have a ContentHost on the other side.
|
||||
mContentClient = new ContentClientBasic(nullptr, BasicManager());
|
||||
// This client will have a null Forwarder, which means it will not have
|
||||
// a ContentHost on the other side.
|
||||
mContentClient = new ContentClientBasic();
|
||||
}
|
||||
|
||||
if (!BasicManager()->IsRetained()) {
|
||||
|
@ -73,11 +73,11 @@ ContentClient::CreateContentClient(CompositableForwarder* aForwarder)
|
||||
|
||||
}
|
||||
|
||||
ContentClientBasic::ContentClientBasic(CompositableForwarder* aForwarder,
|
||||
BasicLayerManager* aManager)
|
||||
: ContentClient(aForwarder)
|
||||
// We pass a null pointer for the ContentClient Forwarder argument, which means
|
||||
// this client will not have a ContentHost on the other side.
|
||||
ContentClientBasic::ContentClientBasic()
|
||||
: ContentClient(nullptr)
|
||||
, RotatedContentBuffer(ContainsVisibleBounds)
|
||||
, mManager(aManager)
|
||||
{}
|
||||
|
||||
void
|
||||
|
@ -134,8 +134,7 @@ class ContentClientBasic : public ContentClient
|
||||
, protected RotatedContentBuffer
|
||||
{
|
||||
public:
|
||||
ContentClientBasic(CompositableForwarder* aForwarder,
|
||||
BasicLayerManager* aManager);
|
||||
ContentClientBasic();
|
||||
|
||||
typedef RotatedContentBuffer::PaintState PaintState;
|
||||
typedef RotatedContentBuffer::ContentType ContentType;
|
||||
@ -162,9 +161,6 @@ public:
|
||||
}
|
||||
|
||||
virtual void OnActorDestroy() MOZ_OVERRIDE {}
|
||||
|
||||
private:
|
||||
BasicLayerManager* mManager;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user