Remove unused stack class, rs=jst.
authorBen Turner <bent.mozilla@gmail.com>
Wed, 04 Aug 2010 14:44:33 -0700
changeset 48876 f662e7accc569de9c9550eb525db030c7f2eaab9
parent 48875 db0f3564e1f3cb39cf5ca4cd3f5f2635ebe56c45
child 48877 462ad136798e80d8256d771b78900ccf69441f47
child 49343 f758fa7a96d61a19103c999a79fc563137103686
push idunknown
push userunknown
push dateunknown
reviewersjst
milestone2.0b4pre
Remove unused stack class, rs=jst.
dom/indexedDB/IDBTransaction.h
--- a/dom/indexedDB/IDBTransaction.h
+++ b/dom/indexedDB/IDBTransaction.h
@@ -173,36 +173,16 @@ private:
 
   // Only touched on the database thread.
   PRUint32 mSavepointCount;
 
   bool mHasInitialSavepoint;
   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<IDBTransaction> mTransaction;
-};
-
 class CommitHelper : public nsIRunnable
 {
 public:
   NS_DECL_ISUPPORTS
   NS_DECL_NSIRUNNABLE
 
   CommitHelper(IDBTransaction* aTransaction)
   : mTransaction(aTransaction),