#include "wtf/Assertions.h"
#include "wtf/PassRefPtr.h"
-namespace WebCore {
+namespace blink {
// ImageFrame represents the decoded image data. This buffer is what all
// decoders write a single frame into.
ASSERT(m_requiredPreviousFrameIndexValid);
return m_requiredPreviousFrameIndex;
}
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
bool requiredPreviousFrameIndexValid() const { return m_requiredPreviousFrameIndexValid; }
#endif
void setHasAlpha(bool alpha);
void setRequiredPreviousFrameIndex(size_t previousFrameIndex)
{
m_requiredPreviousFrameIndex = previousFrameIndex;
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
m_requiredPreviousFrameIndexValid = true;
#endif
}
// This is used by ImageDecoder::clearCacheExceptFrame(), and will never
// be read for image formats that do not have multiple frames.
size_t m_requiredPreviousFrameIndex;
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
bool m_requiredPreviousFrameIndexValid;
#endif
};
-} // namespace WebCore
+} // namespace blink
#endif