| Index: chrome/browser/chromeos/notifications/notification_panel.cc
|
| ===================================================================
|
| --- chrome/browser/chromeos/notifications/notification_panel.cc (revision 66634)
|
| +++ chrome/browser/chromeos/notifications/notification_panel.cc (working copy)
|
| @@ -848,10 +848,8 @@
|
| BalloonViewImpl* NotificationPanelTester::GetBalloonView(
|
| BalloonCollectionImpl* collection,
|
| const Notification& notification) {
|
| - BalloonCollectionImpl::Balloons::iterator iter =
|
| - collection->FindBalloon(notification);
|
| - DCHECK(iter != collection->balloons_.end());
|
| - Balloon* balloon = (*iter);
|
| + Balloon* balloon = collection->FindBalloon(notification);
|
| + DCHECK(balloon);
|
| return GetBalloonViewOf(balloon);
|
| }
|
|
|
|
|