mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
965e48aeaf
commit
083aa756a9
@ -19,7 +19,6 @@
|
|||||||
#include "mozIStoragePendingStatement.h"
|
#include "mozIStoragePendingStatement.h"
|
||||||
#include "mozIStorageError.h"
|
#include "mozIStorageError.h"
|
||||||
#include "nsThreadUtils.h"
|
#include "nsThreadUtils.h"
|
||||||
#include "mozilla/Attributes.h"
|
|
||||||
|
|
||||||
static int gTotalTests = 0;
|
static int gTotalTests = 0;
|
||||||
static int gPassedTests = 0;
|
static int gPassedTests = 0;
|
||||||
@ -107,8 +106,8 @@ getDatabase()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class AsyncStatementSpinner MOZ_FINAL : public mozIStorageStatementCallback
|
class AsyncStatementSpinner : public mozIStorageStatementCallback
|
||||||
, public mozIStorageCompletionCallback
|
, public mozIStorageCompletionCallback
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_ISUPPORTS
|
NS_DECL_ISUPPORTS
|
||||||
@ -122,7 +121,7 @@ public:
|
|||||||
PRUint16 completionReason;
|
PRUint16 completionReason;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
~AsyncStatementSpinner() {}
|
virtual ~AsyncStatementSpinner() {}
|
||||||
volatile bool mCompleted;
|
volatile bool mCompleted;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user