Index: Source/platform/weborigin/KURL.cpp |
diff --git a/Source/platform/weborigin/KURL.cpp b/Source/platform/weborigin/KURL.cpp |
index 3c7917f500a6cb0a4522b84b9828ad5f3b6560e5..51e4afd8e8d0e4e482e442b72d1626386b63582e 100644 |
--- a/Source/platform/weborigin/KURL.cpp |
+++ b/Source/platform/weborigin/KURL.cpp |
@@ -47,7 +47,7 @@ static const int invalidPortNumber = 0xFFFF; |
static void assertProtocolIsGood(const char* protocol) |
{ |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
const char* p = protocol; |
while (*p) { |
ASSERT(*p > ' ' && *p < 0x7F && !(*p >= 'A' && *p <= 'Z')); |