void IDBRequest::setVersionChangeTransaction(IDBTransaction& transaction) { ASSERT(!m_transaction); ASSERT(transaction.isVersionChange()); ASSERT(!transaction.isFinishedOrFinishing()); m_transaction = &transaction; }
void IDBRequest::setVersionChangeTransaction(IDBTransaction& transaction) { ASSERT(&originThread() == &Thread::current()); ASSERT(!m_transaction); ASSERT(transaction.isVersionChange()); ASSERT(!transaction.isFinishedOrFinishing()); m_transaction = &transaction; }