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

Unified Diff: chrome/browser/history/thumbnail_database.cc

Issue 12096073: Implement sql::Connection::RazeAndClose(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable DEATH test on android and ios. Created 7 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
Index: chrome/browser/history/thumbnail_database.cc
diff --git a/chrome/browser/history/thumbnail_database.cc b/chrome/browser/history/thumbnail_database.cc
index 2e72c05b9c472e72b5c77afb81da1b9049a2dd76..03d3f14888ccf739a5a94f84e8fe1eb297693b3b 100644
--- a/chrome/browser/history/thumbnail_database.cc
+++ b/chrome/browser/history/thumbnail_database.cc
@@ -209,8 +209,7 @@ sql::InitStatus ThumbnailDatabase::Init(
<< "structure.";
UMA_HISTOGRAM_BOOLEAN("History.InvalidFaviconsDBStructure", true);
- db_.Raze();
- db_.Close();
+ db_.RazeAndClose();
return sql::INIT_FAILURE;
}
« no previous file with comments | « chrome/browser/extensions/activity_database.cc ('k') | chrome/browser/net/sqlite_persistent_cookie_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698