Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / wtf / text / ASCIIFastPath.h
index 65cc314..0a8ae4d 100644 (file)
@@ -119,7 +119,7 @@ inline void copyLCharsFromUCharSource(LChar* destination, const UChar* source, s
     if (length > ucharsPerLoop) {
         const size_t endLength = length - ucharsPerLoop + 1;
         for (; i < endLength; i += ucharsPerLoop) {
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
             for (unsigned checkIndex = 0; checkIndex < ucharsPerLoop; ++checkIndex)
                 ASSERT(!(source[i+checkIndex] & 0xff00));
 #endif