| Index: ui/views/view.cc
|
| diff --git a/ui/views/view.cc b/ui/views/view.cc
|
| index 92223157d4c8671aaa2c55aab4c006d1ee25b265..8912f621d765b861b107639574f6fd7bc088990f 100644
|
| --- a/ui/views/view.cc
|
| +++ b/ui/views/view.cc
|
| @@ -159,7 +159,8 @@ void View::AddChildView(View* view) {
|
| }
|
|
|
| void View::AddChildViewAt(View* view, int index) {
|
| - CHECK_NE(view, this) << "You cannot add a view as its own child";
|
| + // You cannot add a view as its own child
|
| + CHECK_NE(view, this);
|
| DCHECK_GE(index, 0);
|
| DCHECK_LE(index, child_count());
|
|
|
|
|