summaryrefslogtreecommitdiffstats
path: root/WebCore/storage/DatabaseThread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/storage/DatabaseThread.cpp')
-rw-r--r--WebCore/storage/DatabaseThread.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/WebCore/storage/DatabaseThread.cpp b/WebCore/storage/DatabaseThread.cpp
index 191a476..fab02a2 100644
--- a/WebCore/storage/DatabaseThread.cpp
+++ b/WebCore/storage/DatabaseThread.cpp
@@ -29,6 +29,8 @@
#include "config.h"
#include "DatabaseThread.h"
+#if ENABLE(DATABASE)
+
#include "AutodrainedPool.h"
#include "Database.h"
#include "DatabaseTask.h"
@@ -54,7 +56,7 @@ bool DatabaseThread::start()
if (m_threadID)
return true;
- m_threadID = createThread(DatabaseThread::databaseThreadStart, this, "WebCore::Database");
+ m_threadID = createThread(DatabaseThread::databaseThreadStart, this, "WebCore: Database");
return m_threadID;
}
@@ -135,3 +137,4 @@ void DatabaseThread::unscheduleDatabaseTasks(Database* database)
}
} // namespace WebCore
+#endif