Fix dictated to me by Brady.
* loader/icon/IconDatabase.cpp:
(WebCore::IconDatabase::syncThreadMainLoop): Make sure we hold
m_syncLock before going into the loop.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@26726
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
* Configurations/WebCore.xcconfig: Make it possible to include CoreGraphics header files.
+2007-10-17 Adam Roben <aroben@apple.com>
+
+ Fix an ASSERT on launch on Windows
+
+ Fix dictated to me by Brady.
+
+ * loader/icon/IconDatabase.cpp:
+ (WebCore::IconDatabase::syncThreadMainLoop): Make sure we hold
+ m_syncLock before going into the loop.
+
2007-10-17 Adam Roben <aroben@apple.com>
Windows build fix
ASSERT_ICON_SYNC_THREAD();
static bool prunedUnretainedIcons = false;
+ m_syncLock.lock();
+
// It's possible thread termination is requested before the main loop even starts - in that case, just skip straight to cleanup
while (!m_threadTerminationRequested) {
m_syncLock.unlock();