Index: third_party/WebKit/Source/platform/graphics/GraphicsContextStateSaver.h |
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContextStateSaver.h b/third_party/WebKit/Source/platform/graphics/GraphicsContextStateSaver.h |
index 4fa189a96c74859a650473852e23f8581ee0efcd..2b2ffb642f8882b2364277c7422f870f955d1441 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContextStateSaver.h |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContextStateSaver.h |
@@ -54,7 +54,7 @@ class PLATFORM_EXPORT GraphicsContextStateSaver final { |
} |
void save() { |
- ASSERT(!m_saveAndRestore); |
+ DCHECK(!m_saveAndRestore); |
m_context.save(); |
m_saveAndRestore = true; |
} |
@@ -66,7 +66,7 @@ class PLATFORM_EXPORT GraphicsContextStateSaver final { |
} |
void restore() { |
- ASSERT(m_saveAndRestore); |
+ DCHECK(m_saveAndRestore); |
m_context.restore(); |
m_saveAndRestore = false; |
} |