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

Unified Diff: chrome/browser/ui/views/sad_tab_view.cc

Issue 11148007: views: Fix a bunch of dchecks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 8 years, 2 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/sad_tab_view.cc
diff --git a/chrome/browser/ui/views/sad_tab_view.cc b/chrome/browser/ui/views/sad_tab_view.cc
index c83efc67ef2f152b4c95384e34907069f7a02c51..dee417e63073648945a8710b6e85d56fed88d50e 100644
--- a/chrome/browser/ui/views/sad_tab_view.cc
+++ b/chrome/browser/ui/views/sad_tab_view.cc
@@ -123,10 +123,10 @@ void SadTabView::LinkClicked(views::Link* source, int event_flags) {
}
}
-void SadTabView::ButtonPressed(views::Button* source,
+void SadTabView::ButtonPressed(views::Button* sender,
const ui::Event& event) {
DCHECK(web_contents_);
- DCHECK(source == reload_button_);
+ DCHECK_EQ(reload_button_, sender);
web_contents_->GetController().Reload(true);
}

Powered by Google App Engine
This is Rietveld 408576698