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

Unified Diff: chrome/browser/ui/views/sync/one_click_signin_bubble_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/sync/one_click_signin_bubble_view.cc
diff --git a/chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc b/chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc
index 3cb2a8a146f96fcc84612370266d25cfe80cf144..8ffe361fda165d19d995dc950f0fd20132c8de6c 100644
--- a/chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc
+++ b/chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc
@@ -148,7 +148,7 @@ void OneClickSigninBubbleView::WindowClosing() {
// We have to reset |bubble_view_| here, not in our destructor, because
// we'll be destroyed asynchronously and the shown state will be checked
// before then.
- DCHECK(bubble_view_ == this);
+ DCHECK_EQ(bubble_view_, this);
bubble_view_ = NULL;
if (!start_sync_callback_.is_null()) {

Powered by Google App Engine
This is Rietveld 408576698