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

Unified Diff: components/password_manager/core/browser/affiliation_database.cc

Issue 1991503002: [sql] sql::ScopedErrorIgnorer rename to sql::test::ScopedErrorExpecter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 4 years, 6 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: components/password_manager/core/browser/affiliation_database.cc
diff --git a/components/password_manager/core/browser/affiliation_database.cc b/components/password_manager/core/browser/affiliation_database.cc
index 2b569551fb00df5941a96d7884286adbd29f2d16..1052aa9aa78cd14bfb7f7192a03552ed79b9337f 100644
--- a/components/password_manager/core/browser/affiliation_database.cc
+++ b/components/password_manager/core/browser/affiliation_database.cc
@@ -259,7 +259,7 @@ void AffiliationDatabase::SQLErrorCallback(int error,
}
// The default handling is to assert on debug and to ignore on release.
- if (!sql::Connection::ShouldIgnoreSqliteError(error))
+ if (!sql::Connection::IsExpectedSqliteError(error))
DLOG(FATAL) << sql_connection_->GetErrorMessage();
}

Powered by Google App Engine
This is Rietveld 408576698