Changeset 88103 in webkit


Ignore:
Timestamp:
Jun 4, 2011 3:24:13 AM (13 years ago)
Author:
thakis@chromium.org
Message:

2011-06-04 Nico Weber <thakis@chromium.org>

Reviewed by James Robinson.

Give IDBBackingStore::Transaction a virtual destructor
https://bugs.webkit.org/show_bug.cgi?id=62063

IDBLevelDBBackingStore::createTransaction() hands out a
PassRefPtr<IDBBackingStore::Transaction>, which means the missing
virtual destructor is a real bug.

  • storage/IDBBackingStore.h: (WebCore::IDBBackingStore::Transaction::~Transaction):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r88102 r88103  
     12011-06-04  Nico Weber  <thakis@chromium.org>
     2
     3        Reviewed by James Robinson.
     4
     5        Give IDBBackingStore::Transaction a virtual destructor
     6        https://bugs.webkit.org/show_bug.cgi?id=62063
     7
     8        IDBLevelDBBackingStore::createTransaction() hands out a
     9        PassRefPtr<IDBBackingStore::Transaction>, which means the missing
     10        virtual destructor is a real bug.
     11
     12        * storage/IDBBackingStore.h:
     13        (WebCore::IDBBackingStore::Transaction::~Transaction):
     14
    1152011-06-04  Emil A Eklund  <eae@chromium.org>
    216
  • trunk/Source/WebCore/storage/IDBBackingStore.h

    r87313 r88103  
    102102    class Transaction : public RefCounted<Transaction> {
    103103    public:
     104        virtual ~Transaction() { }
    104105        virtual void begin() = 0;
    105106        virtual void commit() = 0;
Note: See TracChangeset for help on using the changeset viewer.