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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h

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/CompositedLayerMapping.h
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
index 46408b00350acf7af14a97e44c29f4519b348715..7657542e5d8e721e4bb5b65f70fa4df7aae9c9ed 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
@@ -265,7 +265,8 @@ class CORE_EXPORT CompositedLayerMapping final : public GraphicsLayerClient {
#if DCHECK_IS_ON()
void assertNeedsToUpdateGraphicsLayerBitsCleared() {
- ASSERT(m_pendingUpdateScope == GraphicsLayerUpdateNone);
+ DCHECK_EQ(m_pendingUpdateScope,
+ static_cast<unsigned>(GraphicsLayerUpdateNone));
}
#endif

Powered by Google App Engine
This is Rietveld 408576698