Remove LegacyIDB.
[WebKit-https.git] / Source / WebCore / bindings / js / JSMainThreadExecState.cpp
index f16bb21..f49f4a8 100644 (file)
 #include "Microtasks.h"
 #include "MutationObserver.h"
 
-#if ENABLE(INDEXED_DATABASE)
-#include "IDBPendingTransactionMonitor.h"
-#endif
-
 namespace WebCore {
 
 JSC::ExecState* JSMainThreadExecState::s_mainThreadState = 0;
 
 void JSMainThreadExecState::didLeaveScriptContext()
 {
-#if ENABLE(INDEXED_DATABASE)
-    // Indexed DB requires that transactions are created with an internal |active| flag
-    // set to true, but the flag becomes false when control returns to the event loop.
-    IDBPendingTransactionMonitor::deactivateNewTransactions();
-#endif
-
     MicrotaskQueue::mainThreadQueue().performMicrotaskCheckpoint();
 }