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 (more uriloader parts); r=bzbarsky
This commit is contained in:
parent
470afb9d91
commit
8c8d187c85
@ -46,6 +46,7 @@
|
||||
#include "nsMimeTypes.h"
|
||||
|
||||
#include "nsDocLoader.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
#include "mozilla/FunctionTimer.h"
|
||||
#ifdef NS_FUNCTION_TIMER
|
||||
@ -74,7 +75,7 @@ PRLogModuleInfo* nsURILoader::mLog = nsnull;
|
||||
* Each instance remains alive until its target URL has been loaded
|
||||
* (or aborted).
|
||||
*/
|
||||
class nsDocumentOpenInfo : public nsIStreamListener
|
||||
class nsDocumentOpenInfo MOZ_FINAL : public nsIStreamListener
|
||||
{
|
||||
public:
|
||||
// Needed for nsCOMPtr to work right... Don't call this!
|
||||
|
Loading…
Reference in New Issue
Block a user