Index: cc/tree_synchronizer.cc |
diff --git a/cc/tree_synchronizer.cc b/cc/tree_synchronizer.cc |
index fdea6e2bb58449674a09d4d39a97fd32598efecf..201d0f4357420ddc6357863a046c70ea91ec535c 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; |
- ASSERT(ccScrollbarLayerImpl); |
- ASSERT(ccScrollLayerImpl); |
+ DCHECK(ccScrollbarLayerImpl); |
+ DCHECK(ccScrollLayerImpl); |
if (ccScrollbarLayerImpl->orientation() == WebKit::WebScrollbar::Horizontal) |
ccScrollLayerImpl->setHorizontalScrollbarLayer(ccScrollbarLayerImpl); |