Index: Source/modules/indexeddb/IDBRequest.cpp |
diff --git a/Source/modules/indexeddb/IDBRequest.cpp b/Source/modules/indexeddb/IDBRequest.cpp |
index 1cdce785d1aa4c4a495df3fce71f026eb3093ed2..2d893cf33bbba9cbd5bccacc938b0bef5cba7694 100644 |
--- a/Source/modules/indexeddb/IDBRequest.cpp |
+++ b/Source/modules/indexeddb/IDBRequest.cpp |
@@ -435,7 +435,7 @@ bool IDBRequest::dispatchEvent(PassRefPtr<Event> event) |
} |
// FIXME: When we allow custom event dispatching, this will probably need to change. |
- ASSERT_WITH_MESSAGE(event->type() == EventTypeNames::success || event->type() == EventTypeNames::error || event->type() == EventTypeNames::blocked || event->type() == EventTypeNames::upgradeneeded, "event type was %s", event->type().string().utf8().data()); |
+ ASSERT_WITH_MESSAGE(event->type() == EventTypeNames::success || event->type() == EventTypeNames::error || event->type() == EventTypeNames::blocked || event->type() == EventTypeNames::upgradeneeded, "event type was %s", event->type().utf8().data()); |
const bool setTransactionActive = m_transaction && (event->type() == EventTypeNames::success || event->type() == EventTypeNames::upgradeneeded || (event->type() == EventTypeNames::error && !m_requestAborted)); |
if (setTransactionActive) |
@@ -500,7 +500,7 @@ void IDBRequest::enqueueEvent(PassRefPtr<Event> event) |
if (m_contextStopped || !executionContext()) |
return; |
- ASSERT_WITH_MESSAGE(m_readyState == PENDING || m_didFireUpgradeNeededEvent, "When queueing event %s, m_readyState was %d", event->type().string().utf8().data(), m_readyState); |
+ ASSERT_WITH_MESSAGE(m_readyState == PENDING || m_didFireUpgradeNeededEvent, "When queueing event %s, m_readyState was %d", event->type().utf8().data(), m_readyState); |
EventQueue* eventQueue = executionContext()->eventQueue(); |
event->setTarget(this); |