Index: views/view.cc |
diff --git a/views/view.cc b/views/view.cc |
index 45c9a284320e53bd44bb8b919865448a4dcf71b4..ca052a9e491ef95b6aca425f81a0f00c9c7318f3 100644 |
--- a/views/view.cc |
+++ b/views/view.cc |
@@ -1759,7 +1759,7 @@ void View::UnregisterAccelerators(bool leave_data_intact) { |
// Focus ----------------------------------------------------------------------- |
void View::InitFocusSiblings(View* v, int index) { |
- int child_count = static_cast<int>(children_.size()); |
+ int child_count = child_count(); |
if (child_count == 0) { |
v->next_focusable_view_ = NULL; |