mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1024465 - Define an out of line destructor for DataStore so that we can forward delcare DataStoreImpl in DataStore.h; r=bzbarsky
This is required because the destructor for the nsRefPtr<DataStoreImpl> member requires the full definition of the type.
This commit is contained in:
parent
ac692ed2ca
commit
76e122701d
@ -29,6 +29,10 @@ DataStore::DataStore(nsPIDOMWindow* aWindow)
|
||||
{
|
||||
}
|
||||
|
||||
DataStore::~DataStore()
|
||||
{
|
||||
}
|
||||
|
||||
already_AddRefed<DataStore>
|
||||
DataStore::Constructor(GlobalObject& aGlobal, ErrorResult& aRv)
|
||||
{
|
||||
|
@ -27,6 +27,7 @@ public:
|
||||
DOMEventTargetHelper)
|
||||
|
||||
explicit DataStore(nsPIDOMWindow* aWindow);
|
||||
~DataStore();
|
||||
|
||||
// WebIDL (internal functions)
|
||||
|
||||
@ -89,4 +90,4 @@ private:
|
||||
} //namespace dom
|
||||
} //namespace mozilla
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user