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

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

Issue 10171014: Changed to Reset(bool clear_bound_vars) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac build error. Created 8 years, 8 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/text_database.cc
diff --git a/chrome/browser/history/text_database.cc b/chrome/browser/history/text_database.cc
index 3e3d9258da654390907723f648284b8ea0c0908e..f33cc6b786f4c9a530f98e43785d6d4a12ea11ac 100644
--- a/chrome/browser/history/text_database.cc
+++ b/chrome/browser/history/text_database.cc
@@ -260,7 +260,7 @@ void TextDatabase::DeletePageData(base::Time time, const std::string& url) {
delete_page.BindInt64(0, *i);
if (!delete_page.Run())
return;
- delete_page.Reset();
+ delete_page.Reset(true);
}
// Delete from the info table.
@@ -272,7 +272,7 @@ void TextDatabase::DeletePageData(base::Time time, const std::string& url) {
delete_info.BindInt64(0, *i);
if (!delete_info.Run())
return;
- delete_info.Reset();
+ delete_info.Reset(true);
}
}
@@ -359,7 +359,7 @@ void TextDatabase::GetTextMatches(const std::string& query,
*first_time_searched = results->back().time;
}
- statement.Reset();
+ statement.Reset(true);
}
} // namespace history
« no previous file with comments | « chrome/browser/autocomplete/network_action_predictor_database.cc ('k') | chrome/browser/history/visitsegment_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698