mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 875218 - Make GLContext inherit GenericRefCounted, to allow moz2d to have strong references to GLContexts r=mattwoodrow
This commit is contained in:
parent
331ec8943f
commit
2b5bfc6902
@ -53,6 +53,7 @@ typedef char realGLboolean;
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/StandardInteger.h"
|
||||
#include "mozilla/Mutex.h"
|
||||
#include "mozilla/GenericRefCounted.h"
|
||||
|
||||
namespace android {
|
||||
class GraphicBuffer;
|
||||
@ -84,9 +85,8 @@ typedef uintptr_t SharedTextureHandle;
|
||||
|
||||
class GLContext
|
||||
: public GLLibraryLoader
|
||||
, public GenericAtomicRefCounted
|
||||
{
|
||||
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(GLContext)
|
||||
|
||||
protected:
|
||||
typedef class gfx::SharedSurface SharedSurface;
|
||||
typedef gfx::SharedSurfaceType SharedSurfaceType;
|
||||
|
Loading…
Reference in New Issue
Block a user