Index: third_party/WebKit/Source/core/style/ContentData.h |
diff --git a/third_party/WebKit/Source/core/style/ContentData.h b/third_party/WebKit/Source/core/style/ContentData.h |
index 0b25bccf652d5057debb93c9494df3c5626ec509..c99dbd35b2ea06156bf4db04d648950f469de478 100644 |
--- a/third_party/WebKit/Source/core/style/ContentData.h |
+++ b/third_party/WebKit/Source/core/style/ContentData.h |
@@ -79,7 +79,7 @@ class ImageContentData final : public ContentData { |
const StyleImage* image() const { return m_image.get(); } |
StyleImage* image() { return m_image.get(); } |
void setImage(StyleImage* image) { |
- ASSERT(image); |
+ DCHECK(image); |
m_image = image; |
} |
@@ -95,7 +95,7 @@ class ImageContentData final : public ContentData { |
DECLARE_VIRTUAL_TRACE(); |
private: |
- ImageContentData(StyleImage* image) : m_image(image) { ASSERT(m_image); } |
+ ImageContentData(StyleImage* image) : m_image(image) { DCHECK(m_image); } |
ContentData* cloneInternal() const override { |
StyleImage* image = const_cast<StyleImage*>(this->image()); |