| Index: chrome/browser/ui/views/notifications/balloon_view_views.cc
|
| diff --git a/chrome/browser/ui/views/notifications/balloon_view_views.cc b/chrome/browser/ui/views/notifications/balloon_view_views.cc
|
| index 94716980799b62d26ce1ebfb5661158d4ef435e3..391b646e05d61a9337f45813bd4f18249b6b812e 100644
|
| --- a/chrome/browser/ui/views/notifications/balloon_view_views.cc
|
| +++ b/chrome/browser/ui/views/notifications/balloon_view_views.cc
|
| @@ -169,10 +169,9 @@ void BalloonViewImpl::OnWorkAreaChanged() {
|
| collection_->DisplayChanged();
|
| }
|
|
|
| -void BalloonViewImpl::ButtonPressed(views::Button* sender,
|
| - const ui::Event&) {
|
| +void BalloonViewImpl::ButtonPressed(views::Button* sender, const ui::Event&) {
|
| // The only button currently is the close button.
|
| - DCHECK(sender == close_button_);
|
| + DCHECK_EQ(close_button_, sender);
|
| Close(true);
|
| }
|
|
|
| @@ -238,7 +237,7 @@ void BalloonViewImpl::Update() {
|
| }
|
|
|
| void BalloonViewImpl::AnimationProgressed(const ui::Animation* animation) {
|
| - DCHECK(animation == animation_.get());
|
| + DCHECK_EQ(animation_.get(), animation);
|
|
|
| // Linear interpolation from start to end position.
|
| double e = animation->GetCurrentValue();
|
|
|