Ignore:
Timestamp:
May 7, 2009, 11:47:19 PM (16 years ago)
Author:
[email protected]
Message:

Fix <https://bugs.webkit.org/show_bug.cgi?id=25640>.
Bug 25640: Crash on quit in r43384 nightly build on Leopard w/ Safari 4 beta installed

Rubber-stamped by Oliver Hunt.

Roll out r43366 as it removed symbols that Safari 4 Beta uses.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/storage/DatabaseThread.cpp

    r43366 r43392  
    4040
    4141DatabaseThread::DatabaseThread()
     42    : m_threadID(0)
    4243{
    4344    m_selfRef = this;
     
    5354    MutexLocker lock(m_threadCreationMutex);
    5455
    55     if (m_threadID.isValid())
     56    if (m_threadID)
    5657        return true;
    5758
    5859    m_threadID = createThread(DatabaseThread::databaseThreadStart, this, "WebCore: Database");
    5960
    60     return m_threadID.isValid();
     61    return m_threadID;
    6162}
    6263
     
    9798    }
    9899
    99     LOG(StorageAPI, "About to detach thread and clear the ref to DatabaseThread %p, which currently has %i ref(s)", this, refCount());
     100    LOG(StorageAPI, "About to detach thread %i and clear the ref to DatabaseThread %p, which currently has %i ref(s)", m_threadID, this, refCount());
    100101
    101102    // Detach the thread so its resources are no longer of any concern to anyone else
Note: See TracChangeset for help on using the changeset viewer.