Changeset 142890 in webkit
- Timestamp:
- Feb 14, 2013 10:17:54 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r142889 r142890 1 2013-02-14 David Grogan <dgrogan@chromium.org> 2 3 IndexedDB: Add a few more histogram calls 4 https://bugs.webkit.org/show_bug.cgi?id=109762 5 6 Reviewed by Tony Chang. 7 8 A few places where commits could fail weren't being logged. 9 10 * Modules/indexeddb/IDBBackingStore.cpp: 11 (WebCore::IDBBackingStore::deleteDatabase): 12 (WebCore::IDBBackingStore::Transaction::commit): 13 1 14 2013-02-14 Tony Chang <tony@chromium.org> 2 15 -
trunk/Source/WebCore/Modules/indexeddb/IDBBackingStore.cpp
r141338 r142890 72 72 GetNewVersionNumber, 73 73 CreateIDBDatabaseMetaData, 74 DeleteDatabase, 75 TransactionCommit, 74 76 IDBLevelDBBackingStoreInternalErrorMax, 75 77 }; … … 588 590 transaction->remove(key); 589 591 590 return transaction->commit(); 592 if (!transaction->commit()) { 593 INTERNAL_WRITE_ERROR(DeleteDatabase); 594 return false; 595 } 596 return true; 591 597 } 592 598 … … 1844 1850 bool result = m_transaction->commit(); 1845 1851 m_transaction.clear(); 1852 if (!result) 1853 INTERNAL_WRITE_ERROR(TransactionCommit); 1846 1854 return result; 1847 1855 }
Note: See TracChangeset
for help on using the changeset viewer.