mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 997121 - Mark CompsoitorOGL MOZ_FINAL to prevent future problems with the virtual call in its destructor. r=bjacob
This commit is contained in:
parent
57653a79d1
commit
7547bdadd5
@ -154,7 +154,9 @@ protected:
|
||||
nsTArray<GLuint> mUnusedTextures;
|
||||
};
|
||||
|
||||
class CompositorOGL : public Compositor
|
||||
// If you want to make this class not MOZ_FINAL, first remove calls to virtual
|
||||
// methods (Destroy) that are made in the destructor.
|
||||
class CompositorOGL MOZ_FINAL : public Compositor
|
||||
{
|
||||
typedef mozilla::gl::GLContext GLContext;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user