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

Unified Diff: chrome/browser/extensions/activity_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/extensions/activity_database.cc
diff --git a/chrome/browser/extensions/activity_database.cc b/chrome/browser/extensions/activity_database.cc
index 6dec314affd2c1a466aed595d45ba4cf379d59d5..0b5d1473da6dda60563cd3390cf75c736841af70 100644
--- a/chrome/browser/extensions/activity_database.cc
+++ b/chrome/browser/extensions/activity_database.cc
@@ -115,10 +115,7 @@ void ActivityDatabase::Close() {
}
void ActivityDatabase::KillDatabase() {
- db_.RollbackTransaction();
- db_.Raze();
- db_.Close();
+ db_.RazeAndClose();
}
} // namespace extensions
-

Powered by Google App Engine
This is Rietveld 408576698