Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2012)

Unified Diff: Source/platform/image-decoders/ImageFrame.h

Issue 394353002: Replace tests of ASSERT_ENABLED with ENABLE(ASSERT). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/platform/image-decoders/ImageFrame.h
diff --git a/Source/platform/image-decoders/ImageFrame.h b/Source/platform/image-decoders/ImageFrame.h
index e44f07a15844bb558128fd7b070e6a4fc0e2b53f..d92dc44e9413d7c14ca9d84af16920db487ae7bd 100644
--- a/Source/platform/image-decoders/ImageFrame.h
+++ b/Source/platform/image-decoders/ImageFrame.h
@@ -128,7 +128,7 @@ public:
ASSERT(m_requiredPreviousFrameIndexValid);
return m_requiredPreviousFrameIndex;
}
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
bool requiredPreviousFrameIndexValid() const { return m_requiredPreviousFrameIndexValid; }
#endif
void setHasAlpha(bool alpha);
@@ -147,7 +147,7 @@ public:
void setRequiredPreviousFrameIndex(size_t previousFrameIndex)
{
m_requiredPreviousFrameIndex = previousFrameIndex;
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
m_requiredPreviousFrameIndexValid = true;
#endif
}
@@ -234,7 +234,7 @@ private:
// 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
};

Powered by Google App Engine
This is Rietveld 408576698