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