Index: cc/tree_synchronizer.cc |
diff --git a/cc/tree_synchronizer.cc b/cc/tree_synchronizer.cc |
index 201d0f4357420ddc6357863a046c70ea91ec535c..fdea6e2bb58449674a09d4d39a97fd32598efecf 100644 |
--- a/cc/tree_synchronizer.cc |
+++ b/cc/tree_synchronizer.cc |
@@ -100,8 +100,8 @@ void TreeSynchronizer::updateScrollbarLayerPointersRecursive(const RawPtrCCLayer |
iter = newLayers.find(scrollbarLayer->scrollLayerId()); |
CCLayerImpl* ccScrollLayerImpl = iter != newLayers.end() ? iter->second : NULL; |
- DCHECK(ccScrollbarLayerImpl); |
- DCHECK(ccScrollLayerImpl); |
+ ASSERT(ccScrollbarLayerImpl); |
+ ASSERT(ccScrollLayerImpl); |
if (ccScrollbarLayerImpl->orientation() == WebKit::WebScrollbar::Horizontal) |
ccScrollLayerImpl->setHorizontalScrollbarLayer(ccScrollbarLayerImpl); |