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

Unified Diff: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc

Issue 2696553002: Fix incorrect DCHECK (Closed)
Patch Set: Back to DCHECK Created 3 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
index 04e0f026c5847eb46fca4d148e5d0ad4b153ab9c..23048090e6684e68c108fb3ff1013e62ad26019b 100644
--- a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
@@ -510,7 +510,7 @@ void GaiaScreenHandler::DoAdAuth(
const authpolicy::ActiveDirectoryAccountData& account_data) {
switch (error) {
case authpolicy::ERROR_NONE: {
- DCHECK(!account_data.has_account_id() &&
+ DCHECK(account_data.has_account_id() &&
!account_data.account_id().empty());
const AccountId account_id(GetAccountId(
username, account_data.account_id(), AccountType::ACTIVE_DIRECTORY));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698