fix: _ASSERT is not defined anymore, the appropriate replacement is DCHECK

This commit is contained in:
Samuel Attard 2019-03-21 22:50:33 -07:00
parent ab66c4b7f9
commit 90a738a4d4
3 changed files with 8 additions and 8 deletions

View file

@ -42,7 +42,7 @@ class DesktopNotificationController::Toast {
return ease_in_active_ || ease_out_active_ || IsStackCollapseActive();
}
bool IsHighlighted() const {
_ASSERT(!(is_highlighted_ && !IsWindowVisible(hwnd_)));
DCHECK(!(is_highlighted_ && !IsWindowVisible(hwnd_)));
return is_highlighted_;
}