зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1037591 - Remove unused container layer subclass. r=botond
This commit is contained in:
Родитель
be38d67e26
Коммит
a358761f94
|
@ -9,7 +9,6 @@
|
|||
#include "mozilla/Attributes.h"
|
||||
#include "mozilla/layers/AsyncCompositionManager.h" // for ViewTransform
|
||||
#include "mozilla/layers/AsyncPanZoomController.h"
|
||||
#include "mozilla/layers/LayerManagerComposite.h"
|
||||
#include "mozilla/layers/GeckoContentController.h"
|
||||
#include "mozilla/layers/CompositorParent.h"
|
||||
#include "mozilla/layers/APZCTreeManager.h"
|
||||
|
@ -140,18 +139,6 @@ private:
|
|||
nsTArray<Task*> mTaskQueue;
|
||||
};
|
||||
|
||||
|
||||
class TestAPZCContainerLayer : public ContainerLayer {
|
||||
public:
|
||||
TestAPZCContainerLayer()
|
||||
: ContainerLayer(nullptr, nullptr)
|
||||
{}
|
||||
bool RemoveChild(Layer* aChild) { return true; }
|
||||
bool InsertAfter(Layer* aChild, Layer* aAfter) { return true; }
|
||||
void ComputeEffectiveTransforms(const Matrix4x4& aTransformToSurface) {}
|
||||
bool RepositionChild(Layer* aChild, Layer* aAfter) { return true; }
|
||||
};
|
||||
|
||||
class TestAsyncPanZoomController : public AsyncPanZoomController {
|
||||
public:
|
||||
TestAsyncPanZoomController(uint64_t aLayersId, MockContentController* aMcc,
|
||||
|
|
Загрузка…
Ссылка в новой задаче