Index: third_party/WebKit/Source/core/layout/LayoutImageResource.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutImageResource.cpp b/third_party/WebKit/Source/core/layout/LayoutImageResource.cpp |
index a4b9b923ef6467c3201e1297bd15e5ed21f74d4a..4b254d484a13f3c776d6d8831d7e47cb348804bb 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutImageResource.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutImageResource.cpp |
@@ -40,13 +40,13 @@ LayoutImageResource::LayoutImageResource() |
LayoutImageResource::~LayoutImageResource() {} |
void LayoutImageResource::initialize(LayoutObject* layoutObject) { |
- ASSERT(!m_layoutObject); |
- ASSERT(layoutObject); |
+ DCHECK(!m_layoutObject); |
+ DCHECK(layoutObject); |
m_layoutObject = layoutObject; |
} |
void LayoutImageResource::shutdown() { |
- ASSERT(m_layoutObject); |
+ DCHECK(m_layoutObject); |
if (!m_cachedImage) |
return; |
@@ -54,7 +54,7 @@ void LayoutImageResource::shutdown() { |
} |
void LayoutImageResource::setImageResource(ImageResourceContent* newImage) { |
- ASSERT(m_layoutObject); |
+ DCHECK(m_layoutObject); |
if (m_cachedImage == newImage) |
return; |
@@ -73,7 +73,7 @@ void LayoutImageResource::setImageResource(ImageResourceContent* newImage) { |
} |
void LayoutImageResource::resetAnimation() { |
- ASSERT(m_layoutObject); |
+ DCHECK(m_layoutObject); |
if (!m_cachedImage) |
return; |