summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/storage/AbstractDatabase.h
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-10-12 17:48:45 +0100
committerSteve Block <steveblock@google.com>2011-10-28 10:28:50 +0100
commit1b88cab77a965f1887ae4728b9e8016e8504e2ec (patch)
tree312972ac9b3df56a0fd0970025d2c72545d71a12 /Source/WebCore/storage/AbstractDatabase.h
parent638aaf75a16aa7ad95fd6a129f52f3890274b2e9 (diff)
downloadexternal_webkit-1b88cab77a965f1887ae4728b9e8016e8504e2ec.zip
external_webkit-1b88cab77a965f1887ae4728b9e8016e8504e2ec.tar.gz
external_webkit-1b88cab77a965f1887ae4728b9e8016e8504e2ec.tar.bz2
Cherry-pick WebKit change 89708 to fix debug build
See http://trac.webkit.org/changeset/89708 Bug: 5448972 Change-Id: I03d576b0c819fdb9a6d99fea8099cf7120945a45
Diffstat (limited to 'Source/WebCore/storage/AbstractDatabase.h')
-rw-r--r--Source/WebCore/storage/AbstractDatabase.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/storage/AbstractDatabase.h b/Source/WebCore/storage/AbstractDatabase.h
index 9279adc..d62481b 100644
--- a/Source/WebCore/storage/AbstractDatabase.h
+++ b/Source/WebCore/storage/AbstractDatabase.h
@@ -36,7 +36,7 @@
#include "SQLiteDatabase.h"
#include <wtf/Forward.h>
#include <wtf/ThreadSafeRefCounted.h>
-#ifndef NDEBUG
+#if !LOG_DISABLED
#include "SecurityOrigin.h"
#endif
@@ -109,7 +109,7 @@ protected:
unsigned long m_estimatedSize;
String m_filename;
-#ifndef NDEBUG
+#if !LOG_DISABLED
String databaseDebugName() const { return m_contextThreadSecurityOrigin->toString() + "::" + m_name; }
#endif