| Index: chrome/browser/translate/translate_manager_browsertest.cc
|
| ===================================================================
|
| --- chrome/browser/translate/translate_manager_browsertest.cc (revision 87541)
|
| +++ chrome/browser/translate/translate_manager_browsertest.cc (working copy)
|
| @@ -138,7 +138,8 @@
|
| const NotificationSource& source,
|
| const NotificationDetails& details) {
|
| DCHECK_EQ(NotificationType::TAB_CONTENTS_INFOBAR_REMOVED, type.value);
|
| - removed_infobars_.insert(Details<InfoBarDelegate>(details).ptr());
|
| + removed_infobars_.insert(
|
| + Details<std::pair<InfoBarDelegate*, bool> >(details)->first);
|
| }
|
|
|
| protected:
|
| @@ -161,7 +162,7 @@
|
|
|
| notification_registrar_.Add(this,
|
| NotificationType::TAB_CONTENTS_INFOBAR_REMOVED,
|
| - Source<TabContents>(contents()));
|
| + Source<TabContentsWrapper>(contents_wrapper()));
|
| }
|
|
|
| virtual void TearDown() {
|
| @@ -169,7 +170,7 @@
|
|
|
| notification_registrar_.Remove(this,
|
| NotificationType::TAB_CONTENTS_INFOBAR_REMOVED,
|
| - Source<TabContents>(contents()));
|
| + Source<TabContentsWrapper>(contents_wrapper()));
|
|
|
| TabContentsWrapperTestHarness::TearDown();
|
|
|
|
|