Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / parser / BackgroundHTMLInputStream.h
index ba12b63..4bd3023 100644 (file)
@@ -30,7 +30,7 @@
 #include "wtf/Vector.h"
 #include "wtf/text/WTFString.h"
 
-namespace WebCore {
+namespace blink {
 
 typedef size_t HTMLInputCheckpoint;
 
@@ -60,7 +60,7 @@ private:
         size_t numberOfSegmentsAlreadyAppended;
         size_t tokensExtractedSincePreviousCheckpoint;
 
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
         bool isNull() const { return input.isEmpty() && !numberOfSegmentsAlreadyAppended; }
 #endif
         void clear() { input.clear(); numberOfSegmentsAlreadyAppended = 0; tokensExtractedSincePreviousCheckpoint = 0;}