Chromium Code Reviews| Index: chrome/browser/ui/views/info_bubble.cc |
| =================================================================== |
| --- chrome/browser/ui/views/info_bubble.cc (revision 74117) |
| +++ chrome/browser/ui/views/info_bubble.cc (working copy) |
| @@ -500,7 +500,7 @@ |
| if (action == WA_INACTIVE) { |
| Close(); |
| } else if (action == WA_ACTIVE) { |
| - DCHECK_GT(GetRootView()->GetChildViewCount(), 0); |
| + DCHECK(GetRootView()->has_children()); |
| GetRootView()->GetChildViewAt(0)->RequestFocus(); |
| } |
| } |