diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-11 00:44:01 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-11 00:44:01 +0000 |
commit | 841084fb85c44324bbfead79e90f5af67efa646b (patch) | |
tree | cbc73fb3f27f4c84d03dc8483ed5a009687e6461 /views/layout | |
parent | 5fe3f3a35f7202855c60543b5e396112a16610ea (diff) | |
download | chromium_src-841084fb85c44324bbfead79e90f5af67efa646b.zip chromium_src-841084fb85c44324bbfead79e90f5af67efa646b.tar.gz chromium_src-841084fb85c44324bbfead79e90f5af67efa646b.tar.bz2 |
views: Use DCHECK_EQ where possible.
BUG=None
TEST=None
R=pkasting@chromium.org,sky@chromium.org
Review URL: http://codereview.chromium.org/6995143
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88749 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/layout')
-rw-r--r-- | views/layout/fill_layout.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/layout/fill_layout.cc b/views/layout/fill_layout.cc index 921f27b..6fbfe4d 100644 --- a/views/layout/fill_layout.cc +++ b/views/layout/fill_layout.cc @@ -23,7 +23,7 @@ void FillLayout::Layout(View* host) { } gfx::Size FillLayout::GetPreferredSize(View* host) { - DCHECK(host->child_count() == 1); + DCHECK_EQ(1, host->child_count()); return host->GetChildViewAt(0)->GetPreferredSize(); } |