Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3480)

Unified Diff: chrome/browser/ui/views/infobars/infobar_container.cc

Issue 6788014: Fix DCHECK() in infobar animation. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/infobars/infobar_container.cc
===================================================================
--- chrome/browser/ui/views/infobars/infobar_container.cc (revision 80169)
+++ chrome/browser/ui/views/infobars/infobar_container.cc (working copy)
@@ -60,12 +60,12 @@
}
// Now that everything is up to date, signal the delegate to re-layout.
- OnInfoBarAnimated(true);
+ OnInfoBarSizeChanged(true);
}
-void InfoBarContainer::OnInfoBarAnimated(bool done) {
+void InfoBarContainer::OnInfoBarSizeChanged(bool is_animating) {
if (delegate_)
- delegate_->InfoBarContainerSizeChanged(!done);
+ delegate_->InfoBarContainerSizeChanged(is_animating);
}
void InfoBarContainer::RemoveDelegate(InfoBarDelegate* delegate) {

Powered by Google App Engine
This is Rietveld 408576698