void LocalStorageDatabase::openDatabase(DatabaseOpeningStrategy openingStrategy) { ASSERT(!m_database.isOpen()); ASSERT(!m_failedToOpenDatabase); if (!tryToOpenDatabase(openingStrategy)) m_failedToOpenDatabase = true; }
void LocalStorageDatabase::openDatabase(DatabaseOpeningStrategy openingStrategy) { ASSERT(!m_database.isOpen()); ASSERT(!m_failedToOpenDatabase); if (!tryToOpenDatabase(openingStrategy)) { m_failedToOpenDatabase = true; return; } if (m_database.isOpen()) m_tracker->didOpenDatabaseWithOrigin(m_securityOrigin.get()); }