Title: [188872] trunk/Source/WebCore
- Revision
- 188872
- Author
- ander...@apple.com
- Date
- 2015-08-24 11:46:44 -0700 (Mon, 24 Aug 2015)
Log Message
Fix failing tests.
It's OK to call runStateMachine with an idle state. Just bail early when that happens.
* Modules/webdatabase/SQLTransactionStateMachine.h:
(WebCore::SQLTransactionStateMachine<T>::runStateMachine):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (188871 => 188872)
--- trunk/Source/WebCore/ChangeLog 2015-08-24 18:37:37 UTC (rev 188871)
+++ trunk/Source/WebCore/ChangeLog 2015-08-24 18:46:44 UTC (rev 188872)
@@ -1,3 +1,12 @@
+2015-08-24 Anders Carlsson <ander...@apple.com>
+
+ Fix failing tests.
+
+ It's OK to call runStateMachine with an idle state. Just bail early when that happens.
+
+ * Modules/webdatabase/SQLTransactionStateMachine.h:
+ (WebCore::SQLTransactionStateMachine<T>::runStateMachine):
+
2015-08-24 Myles C. Maxfield <mmaxfi...@apple.com>
[Cocoa] Unify FontCache
Modified: trunk/Source/WebCore/Modules/webdatabase/SQLTransactionStateMachine.h (188871 => 188872)
--- trunk/Source/WebCore/Modules/webdatabase/SQLTransactionStateMachine.h 2015-08-24 18:37:37 UTC (rev 188871)
+++ trunk/Source/WebCore/Modules/webdatabase/SQLTransactionStateMachine.h 2015-08-24 18:46:44 UTC (rev 188872)
@@ -91,7 +91,9 @@
{
ASSERT(SQLTransactionState::End < SQLTransactionState::Idle);
- ASSERT(m_nextState > SQLTransactionState::Idle);
+ if (m_nextState <= SQLTransactionState::Idle)
+ return;
+
ASSERT(m_nextState < SQLTransactionState::NumberOfStates);
StateFunction stateFunction = stateFunctionFor(m_nextState);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes