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

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: Created 7 years, 11 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 a5dde8cc94e06c7d748940d6faacd22524c8c579..38877fc44467e450e128421662c51968777aec52 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;
}

Powered by Google App Engine
This is Rietveld 408576698