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

Unified Diff: components/history/core/browser/top_sites_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/history/core/browser/top_sites_database.cc
diff --git a/components/history/core/browser/top_sites_database.cc b/components/history/core/browser/top_sites_database.cc
index 44ad7600b6aa6fc6397418023bc74c881d566b8a..09efcf70ccc3a33b4c0f034a8a856c2eca20604b 100644
--- a/components/history/core/browser/top_sites_database.cc
+++ b/components/history/core/browser/top_sites_database.cc
@@ -345,7 +345,7 @@ void DatabaseErrorCallback(sql::Connection* db,
// are seen.
// The default handling is to assert on debug and to ignore on release.
- if (!sql::Connection::ShouldIgnoreSqliteError(extended_error))
+ if (!sql::Connection::IsExpectedSqliteError(extended_error))
DLOG(FATAL) << db->GetErrorMessage();
}

Powered by Google App Engine
This is Rietveld 408576698