Index: chrome/browser/ui/views/infobars/infobar_view.cc |
=================================================================== |
--- chrome/browser/ui/views/infobars/infobar_view.cc (revision 92600) |
+++ chrome/browser/ui/views/infobars/infobar_view.cc (working copy) |
@@ -230,7 +230,7 @@ |
AddChildView(close_button_); |
} else if ((close_button_ != NULL) && (parent == this) && |
(child != close_button_) && (close_button_->parent() == this) && |
- (GetChildViewAt(child_count() - 1) != close_button_)) { |
+ (child_at(child_count() - 1) != close_button_)) { |
// For accessibility, ensure the close button is the last child view. |
RemoveChildView(close_button_); |
AddChildView(close_button_); |