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

Unified Diff: third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp

Issue 2401523002: Replace ASSERT family with DCHECK and so on in core/dom/. (Closed)
Patch Set: Created 4 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: third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp
diff --git a/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp b/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp
index 265a0961fa64432bd4ff2f535c3fa28bd8bd10a3..f9fcf8254b3253900cf80996426312a64535098b 100644
--- a/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp
+++ b/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp
@@ -104,7 +104,7 @@ class PresentationAttributeCacheCleaner {
(100 * presentationAttributeCacheCleanTimeInSeconds) / 60;
void cleanCache(TimerBase* timer) {
- ASSERT_UNUSED(timer, timer == &m_cleanTimer);
+ DCHECK_EQ(timer, &m_cleanTimer);
unsigned hitCount = m_hitCount;
m_hitCount = 0;
if (hitCount > minimumPresentationAttributeCacheHitCountPerMinute)
« no previous file with comments | « third_party/WebKit/Source/core/dom/NodeListsNodeData.h ('k') | third_party/WebKit/Source/core/dom/PseudoElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698