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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp

Issue 2748103015: Replace ASSERT with DCHECK in core/layout/<sub dirs> (Closed)
Patch Set: Rebase with latest Created 3 years, 9 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: third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp b/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp
index 66172b83c5ce8126e3a17fc1d5428ed415440105..206a380497331df2363912b582c1899ed2320b04 100644
--- a/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp
@@ -100,8 +100,8 @@ void GraphicsLayerUpdater::updateRecursive(
if (updateType == ForceUpdate || mapping->needsGraphicsLayerUpdate()) {
const PaintLayer* compositingContainer =
context.compositingContainer(layer);
- ASSERT(compositingContainer ==
- layer.enclosingLayerWithCompositedLayerMapping(ExcludeSelf));
+ DCHECK_EQ(compositingContainer,
+ layer.enclosingLayerWithCompositedLayerMapping(ExcludeSelf));
if (mapping->updateGraphicsLayerConfiguration())
m_needsRebuildTree = true;

Powered by Google App Engine
This is Rietveld 408576698