diff --git a/atom/browser/notifications/win/win32_desktop_notifications/toast_uia.cc b/atom/browser/notifications/win/win32_desktop_notifications/toast_uia.cc index 5cfcef1558fd..860aaf542085 100644 --- a/atom/browser/notifications/win/win32_desktop_notifications/toast_uia.cc +++ b/atom/browser/notifications/win/win32_desktop_notifications/toast_uia.cc @@ -31,7 +31,7 @@ ULONG DesktopNotificationController::Toast::UIAutomationInterface::Release() { delete this; return 0; } - DCHECK(ret > 0); + DCHECK_GT(ret, 0); return ret; }