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

Unified Diff: content/browser/appcache/appcache_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: content/browser/appcache/appcache_database.cc
diff --git a/content/browser/appcache/appcache_database.cc b/content/browser/appcache/appcache_database.cc
index 690da3546235e2178be88c632556f24db6601fa0..d80c5536a142993810848a8ca0ea727f3a4680f8 100644
--- a/content/browser/appcache/appcache_database.cc
+++ b/content/browser/appcache/appcache_database.cc
@@ -1321,7 +1321,7 @@ bool AppCacheDatabase::DeleteExistingAndCreateNewDatabase() {
void AppCacheDatabase::OnDatabaseError(int err, sql::Statement* stmt) {
was_corruption_detected_ |= sql::IsErrorCatastrophic(err);
- if (!db_->ShouldIgnoreSqliteError(err))
+ if (!db_->IsExpectedSqliteError(err))
DLOG(ERROR) << db_->GetErrorMessage();
// TODO: Maybe use non-catostrophic errors to trigger a full integrity check?
}

Powered by Google App Engine
This is Rietveld 408576698