mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (imagelib parts); r=joedrew
This commit is contained in:
parent
ff75c88d87
commit
bb4d966720
@ -6,6 +6,7 @@
|
||||
#include "imgIEncoder.h"
|
||||
|
||||
#include "mozilla/ReentrantMonitor.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
|
||||
@ -27,7 +28,7 @@ extern "C" {
|
||||
// Provides JPEG encoding functionality. Use InitFromData() to do the
|
||||
// encoding. See that function definition for encoding options.
|
||||
|
||||
class nsJPEGEncoder : public imgIEncoder
|
||||
class nsJPEGEncoder MOZ_FINAL : public imgIEncoder
|
||||
{
|
||||
typedef mozilla::ReentrantMonitor ReentrantMonitor;
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user