Index: Source/platform/graphics/GraphicsContext.h |
diff --git a/Source/platform/graphics/GraphicsContext.h b/Source/platform/graphics/GraphicsContext.h |
index 7a3767db1a795cb24e9492fd24f582663d003609..3da192015350d46835d89c8111d1493d17d9d533 100644 |
--- a/Source/platform/graphics/GraphicsContext.h |
+++ b/Source/platform/graphics/GraphicsContext.h |
@@ -112,7 +112,7 @@ public: |
void save(); |
void restore(); |
unsigned saveCount() { return m_canvasStateStack.size(); } |
-#if !ASSERT_DISABLED |
+#if ASSERT_ENABLED |
void disableDestructionChecks() { m_disableDestructionChecks = true; } |
#endif |
@@ -514,7 +514,7 @@ private: |
struct RecordingState; |
Vector<RecordingState> m_recordingStateStack; |
-#if !ASSERT_DISABLED |
+#if ASSERT_ENABLED |
unsigned m_annotationCount; |
unsigned m_layerCount; |
bool m_disableDestructionChecks; |