Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / platform / weborigin / KnownPorts.cpp
index d02e232..03154e6 100644 (file)
@@ -32,7 +32,7 @@
 #include "wtf/StdLibExtras.h"
 #include "wtf/text/StringHash.h"
 
-namespace WebCore {
+namespace blink {
 
 bool isDefaultPortForProtocol(unsigned short port, const String& protocol)
 {
@@ -129,7 +129,7 @@ bool portAllowed(const KURL& url)
     };
     const unsigned short* const blockedPortListEnd = blockedPortList + WTF_ARRAY_LENGTH(blockedPortList);
 
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
     // The port list must be sorted for binary_search to work.
     static bool checkedPortList = false;
     if (!checkedPortList) {