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

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: 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/unthrottled_texture_uploader.cc » ('j') | no next file with comments »
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 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);
« no previous file with comments | « cc/timer.cc ('k') | cc/unthrottled_texture_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698