Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Unified Diff: cc/tree_synchronizer.cc

Issue 11192030: cc: Switch to Chromium DCHECKs LOGs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dcheck and ndebug Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698