зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
c4c2f30786
Коммит
d916530da7
|
@ -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!
|
||||
|
|
Загрузка…
Ссылка в новой задаче