| Index: third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
|
| diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
|
| index 3ab64a21d52d510303f528131a3b25578524cf8f..508312daa62046507ab6460a1484cd33f09dc195 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
|
| @@ -191,7 +191,7 @@ void IDBTransaction::objectStoreDeleted(const String& name)
|
|
|
| void IDBTransaction::setActive(bool active)
|
| {
|
| - ASSERT_WITH_MESSAGE(m_state != Finished, "A finished transaction tried to setActive(%s)", active ? "true" : "false");
|
| + DCHECK_NE(m_state, Finished) << "A finished transaction tried to setActive(" << (active ? "true" : "false") << ")";
|
| if (m_state == Finishing)
|
| return;
|
| ASSERT(active != (m_state == Active));
|
| @@ -413,7 +413,7 @@ void IDBTransaction::stop()
|
|
|
| void IDBTransaction::enqueueEvent(PassRefPtrWillBeRawPtr<Event> event)
|
| {
|
| - ASSERT_WITH_MESSAGE(m_state != Finished, "A finished transaction tried to enqueue an event of type %s.", event->type().utf8().data());
|
| + DCHECK_NE(m_state, Finished) << "A finished transaction tried to enqueue an event of type " << event->type() << ".";
|
| if (m_contextStopped || !getExecutionContext())
|
| return;
|
|
|
|
|