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:
Ehsan Akhgari 2014-06-12 11:31:36 -04:00
parent ac692ed2ca
commit 76e122701d
2 changed files with 6 additions and 1 deletions

View File

@ -29,6 +29,10 @@ DataStore::DataStore(nsPIDOMWindow* aWindow)
{
}
DataStore::~DataStore()
{
}
already_AddRefed<DataStore>
DataStore::Constructor(GlobalObject& aGlobal, ErrorResult& aRv)
{

View File

@ -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