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

Unified Diff: cc/TreeSynchronizer.cpp

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
Index: cc/TreeSynchronizer.cpp
diff --git a/cc/TreeSynchronizer.cpp b/cc/TreeSynchronizer.cpp
index e12d32d2ccead4952f6857a1fbb1e27de4a7ef6a..e2a8720730fd32e1646e0826574e78272f191c19 100644
--- a/cc/TreeSynchronizer.cpp
+++ b/cc/TreeSynchronizer.cpp
@@ -98,9 +98,9 @@ void TreeSynchronizer::updateScrollbarLayerPointersRecursive(const RawPtrCCLayer
return;
CCScrollbarLayerImpl* ccScrollbarLayerImpl = static_cast<CCScrollbarLayerImpl*>(newLayers.get(scrollbarLayer->id()));
- ASSERT(ccScrollbarLayerImpl);
+ DCHECK(ccScrollbarLayerImpl);
CCLayerImpl* ccScrollLayerImpl = newLayers.get(scrollbarLayer->scrollLayerId());
- ASSERT(ccScrollLayerImpl);
+ DCHECK(ccScrollLayerImpl);
if (ccScrollbarLayerImpl->orientation() == WebKit::WebScrollbar::Horizontal)
ccScrollLayerImpl->setHorizontalScrollbarLayer(ccScrollbarLayerImpl);

Powered by Google App Engine
This is Rietveld 408576698