From 88563f68ec16520622e52672f352bee026865557 Mon Sep 17 00:00:00 2001 From: "kushi.p@gmail.com" Date: Sun, 13 Mar 2011 22:13:33 +0000 Subject: Continuing with DCHECK() replacement. Switching to DCHECK_GT for better debug of broken contracts BUG=58409 Review URL: http://codereview.chromium.org/6690002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77977 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/autocomplete/autocomplete_edit_view_mac.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/autocomplete/autocomplete_edit_view_mac.mm') diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm b/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm index 5e1de22..8904667 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm +++ b/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm @@ -193,7 +193,7 @@ AutocompleteEditViewMac::AutocompleteEditViewMac( layoutManager([[NSLayoutManager alloc] init]); [layoutManager setUsesScreenFonts:YES]; line_height_ = [layoutManager defaultLineHeightForFont:GetFieldFont()]; - DCHECK(line_height_ > 0); + DCHECK_GT(line_height_, 0); } AutocompleteEditViewMac::~AutocompleteEditViewMac() { -- cgit v1.1