Index: chrome/browser/tab_contents/tab_contents.h |
=================================================================== |
--- chrome/browser/tab_contents/tab_contents.h (revision 65558) |
+++ chrome/browser/tab_contents/tab_contents.h (working copy) |
@@ -470,7 +470,7 @@ |
// Enumeration and access functions. |
int infobar_delegate_count() const { return infobar_delegates_.size(); } |
InfoBarDelegate* GetInfoBarDelegateAt(int index) { |
- return infobar_delegates_.at(index); |
+ return infobar_delegates_[index]; |
tfarina
2010/11/10 13:11:57
hum? Why? What is the benefit?
|
} |
// Toolbars and such --------------------------------------------------------- |
@@ -1191,7 +1191,8 @@ |
// Data for shelves and stuff ------------------------------------------------ |
// Delegates for InfoBars associated with this TabContents. |
- std::vector<InfoBarDelegate*> infobar_delegates_; |
+ typedef std::vector<InfoBarDelegate*> InfoBarDelegates; |
+ InfoBarDelegates infobar_delegates_; |
// Data for find in page ----------------------------------------------------- |