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 dbc401f26a21ae80bcbc51b1b5b9f856dfb71228..986047d18463ab0e7e02c2d4d712b25ab1c56783 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(!save_and_restore_); |
+ DCHECK(!save_and_restore_); |
context_.Save(); |
save_and_restore_ = true; |
} |
@@ -66,7 +66,7 @@ class PLATFORM_EXPORT GraphicsContextStateSaver final { |
} |
void Restore() { |
- ASSERT(save_and_restore_); |
+ DCHECK(save_and_restore_); |
context_.Restore(); |
save_and_restore_ = false; |
} |