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

Unified Diff: third_party/WebKit/Source/core/frame/PlatformEventController.cpp

Issue 2394683005: Remove ASSERT_UNUSED (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/frame/PlatformEventController.cpp
diff --git a/third_party/WebKit/Source/core/frame/PlatformEventController.cpp b/third_party/WebKit/Source/core/frame/PlatformEventController.cpp
index c2bd3f1b02668835794bbf38fddaf8bd9abe718d..27d85badbb20fc285af8531e8ba8b8b287a654c6 100644
--- a/third_party/WebKit/Source/core/frame/PlatformEventController.cpp
+++ b/third_party/WebKit/Source/core/frame/PlatformEventController.cpp
@@ -17,7 +17,7 @@ PlatformEventController::PlatformEventController(Page* page)
PlatformEventController::~PlatformEventController() {}
void PlatformEventController::oneShotCallback(TimerBase* timer) {
- ASSERT_UNUSED(timer, timer == &m_timer);
+ DCHECK_EQ(timer, &m_timer);
ASSERT(hasLastData());
ASSERT(!m_timer.isActive());

Powered by Google App Engine
This is Rietveld 408576698