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

Unified Diff: cc/tree_synchronizer.cc

Issue 11048044: cc: Switch to Chromium DCHECKs and LOGs (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase 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
« no previous file with comments | « cc/timer.cc ('k') | cc/video_layer.cc » ('j') | cc/yuv_video_draw_quad.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tree_synchronizer.cc
diff --git a/cc/tree_synchronizer.cc b/cc/tree_synchronizer.cc
index b7e76bbe9ab16d6843bfb26937329c17e35b6233..d14def49f461193150135775555866a26352e8a0 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);
« no previous file with comments | « cc/timer.cc ('k') | cc/video_layer.cc » ('j') | cc/yuv_video_draw_quad.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698