Bug 758992 storage follow-up: make AsyncStatementSpinner's destructor virtual as it is derived from in Windows tests; r=me to fix bustage

This commit is contained in:
Ehsan Akhgari 2012-07-10 16:16:55 -04:00
parent 965e48aeaf
commit 083aa756a9

View File

@ -19,7 +19,6 @@
#include "mozIStoragePendingStatement.h"
#include "mozIStorageError.h"
#include "nsThreadUtils.h"
#include "mozilla/Attributes.h"
static int gTotalTests = 0;
static int gPassedTests = 0;
@ -107,8 +106,8 @@ getDatabase()
}
class AsyncStatementSpinner MOZ_FINAL : public mozIStorageStatementCallback
, public mozIStorageCompletionCallback
class AsyncStatementSpinner : public mozIStorageStatementCallback
, public mozIStorageCompletionCallback
{
public:
NS_DECL_ISUPPORTS
@ -122,7 +121,7 @@ public:
PRUint16 completionReason;
protected:
~AsyncStatementSpinner() {}
virtual ~AsyncStatementSpinner() {}
volatile bool mCompleted;
};