Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / platform / weborigin / KURL.cpp
index 3c7917f..b1901b0 100644 (file)
 #include <stdio.h>
 #endif
 
-namespace WebCore {
+namespace blink {
 
 static const int maximumValidPortNumber = 0xFFFE;
 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'));
@@ -919,4 +919,4 @@ bool KURL::isSafeToSendToAnotherThread() const
         && (!m_innerURL || m_innerURL->isSafeToSendToAnotherThread());
 }
 
-} // namespace WebCore
+} // namespace blink