diff options
author | kushi.p@gmail.com <kushi.p@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-13 22:13:33 +0000 |
---|---|---|
committer | kushi.p@gmail.com <kushi.p@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-13 22:13:33 +0000 |
commit | 88563f68ec16520622e52672f352bee026865557 (patch) | |
tree | e7e5dc554372b4bc695a7dad9908732a6f527156 /chrome/browser/autocomplete/autocomplete_edit_view_mac.mm | |
parent | 6275aa9b9c9237147d7a2dc74a60da5bd68a21ef (diff) | |
download | chromium_src-88563f68ec16520622e52672f352bee026865557.zip chromium_src-88563f68ec16520622e52672f352bee026865557.tar.gz chromium_src-88563f68ec16520622e52672f352bee026865557.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_edit_view_mac.mm')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_edit_view_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |