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

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

Issue 10084030: views: Fix some DCHECKs to use (expected, actual) order. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « chrome/browser/ui/views/task_manager_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/toolbar_view.cc
diff --git a/chrome/browser/ui/views/toolbar_view.cc b/chrome/browser/ui/views/toolbar_view.cc
index c0902e119d27ccff5083e52444bbc83844d67603..5d3c27af31587b4dca2271012209cb66ffc613ef 100644
--- a/chrome/browser/ui/views/toolbar_view.cc
+++ b/chrome/browser/ui/views/toolbar_view.cc
@@ -353,7 +353,7 @@ bool ToolbarView::GetAcceleratorInfo(int id, ui::Accelerator* accel) {
void ToolbarView::OnMenuButtonClicked(views::View* source,
const gfx::Point& point) {
- DCHECK_EQ(VIEW_ID_APP_MENU, source->id());
+ DCHECK_EQ(source->id(), VIEW_ID_APP_MENU);
Peter Kasting 2012/04/16 18:16:25 The old code here was correct.
wrench_menu_.reset(new WrenchMenu(browser_));
WrenchMenuModel model(this, browser_);
« no previous file with comments | « chrome/browser/ui/views/task_manager_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698