Changeset 43392 in webkit for trunk/WebCore/storage/DatabaseThread.cpp
- Timestamp:
- May 7, 2009, 11:47:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/storage/DatabaseThread.cpp
r43366 r43392 40 40 41 41 DatabaseThread::DatabaseThread() 42 : m_threadID(0) 42 43 { 43 44 m_selfRef = this; … … 53 54 MutexLocker lock(m_threadCreationMutex); 54 55 55 if (m_threadID .isValid())56 if (m_threadID) 56 57 return true; 57 58 58 59 m_threadID = createThread(DatabaseThread::databaseThreadStart, this, "WebCore: Database"); 59 60 60 return m_threadID .isValid();61 return m_threadID; 61 62 } 62 63 … … 97 98 } 98 99 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()); 100 101 101 102 // 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.