From b965abfda84d084bf2c7f6d5427a393f09fc53c5 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Thu, 21 Mar 2019 22:55:48 -0700 Subject: [PATCH] chore: replace DCHECK(a > b) with DCHECK_GT --- .../notifications/win/win32_desktop_notifications/toast_uia.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }