diff --git a/dom/indexedDB/IDBTransaction.h b/dom/indexedDB/IDBTransaction.h index ab7fc43cdb3..bd1221418dd 100644 --- a/dom/indexedDB/IDBTransaction.h +++ b/dom/indexedDB/IDBTransaction.h @@ -178,26 +178,6 @@ private: bool mAborted; }; -NS_STACK_CLASS -class AutoTransactionRequestNotifier -{ -public: - AutoTransactionRequestNotifier(IDBTransaction* aTransaction) - : mTransaction(aTransaction) - { - NS_ASSERTION(mTransaction, "Null pointer!"); - mTransaction->OnNewRequest(); - } - - ~AutoTransactionRequestNotifier() - { - mTransaction->OnRequestFinished(); - } - -private: - nsRefPtr mTransaction; -}; - class CommitHelper : public nsIRunnable { public: