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

Unified Diff: third_party/WebKit/Source/core/page/PagePopupController.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/page/PagePopupController.cpp
diff --git a/third_party/WebKit/Source/core/page/PagePopupController.cpp b/third_party/WebKit/Source/core/page/PagePopupController.cpp
index f87fece1b04b944b903a794ffc8f123c51f5b281..11f197cb726952f8ca2d3270ebbc14e4098e74af 100644
--- a/third_party/WebKit/Source/core/page/PagePopupController.cpp
+++ b/third_party/WebKit/Source/core/page/PagePopupController.cpp
@@ -100,7 +100,7 @@ String PagePopupController::formatWeek(int year,
return emptyString();
DateComponents week;
bool setWeekResult = week.setWeek(year, weekNumber);
- ASSERT_UNUSED(setWeekResult, setWeekResult);
+ DCHECK(setWeekResult);
String localizedWeek = m_popupClient->locale().formatDateTime(week);
return m_popupClient->locale().queryString(
WebLocalizedString::AXCalendarWeekDescription, localizedWeek,

Powered by Google App Engine
This is Rietveld 408576698