mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
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:
parent
a65931aaf4
commit
c4804d46d2
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user