mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1127772 - Add private destructor to D3D11TextureReporter. r=benwa
This commit is contained in:
parent
ba4587a44d
commit
fb3f37659f
@ -191,7 +191,7 @@ NS_IMPL_ISUPPORTS(GfxD2DVramReporter, nsIMemoryReporter)
|
||||
#define GFX_CLEARTYPE_PARAMS_STRUCTURE "gfx.font_rendering.cleartype_params.pixel_structure"
|
||||
#define GFX_CLEARTYPE_PARAMS_MODE "gfx.font_rendering.cleartype_params.rendering_mode"
|
||||
|
||||
class GPUAdapterReporter : public nsIMemoryReporter
|
||||
class GPUAdapterReporter MOZ_FINAL : public nsIMemoryReporter
|
||||
{
|
||||
// Callers must Release the DXGIAdapter after use or risk mem-leak
|
||||
static bool GetDXGIAdapter(IDXGIAdapter **DXGIAdapter)
|
||||
@ -330,6 +330,8 @@ Atomic<size_t> gfxWindowsPlatform::sD3D11MemoryUsed;
|
||||
|
||||
class D3D11TextureReporter MOZ_FINAL : public nsIMemoryReporter
|
||||
{
|
||||
~D3D11TextureReporter() {}
|
||||
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user