mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07:31 +09:00
Bug 1388020. r=nical, a=RyanVM
This commit is contained in:
parent
23c2b750e3
commit
e871098ac3
7 changed files with 94 additions and 41 deletions
|
|
@ -8,6 +8,22 @@
|
|||
|
||||
#include "Layers.h"
|
||||
#include "nsTArray.h"
|
||||
#include "mozilla/layers/ISurfaceAllocator.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
||||
class TestSurfaceAllocator final : public ISurfaceAllocator
|
||||
{
|
||||
public:
|
||||
TestSurfaceAllocator() {}
|
||||
~TestSurfaceAllocator() override {}
|
||||
|
||||
bool IsSameProcess() const override { return true; }
|
||||
};
|
||||
|
||||
} // layers
|
||||
} // mozilla
|
||||
|
||||
/* Create layer tree from a simple layer tree description syntax.
|
||||
* Each index is either the first letter of the layer type or
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue