summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/history_backend.cc
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-30 02:36:20 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-30 02:36:20 +0000
commit5ffd5e9b703d122dbac2dce9425a88b414f6de97 (patch)
treea9654890ca1178c026e1707a7bc29387eca03b45 /chrome/browser/history/history_backend.cc
parenta6604d90563ed00e56d4ffe5116d3c7726a893f9 (diff)
downloadchromium_src-5ffd5e9b703d122dbac2dce9425a88b414f6de97.zip
chromium_src-5ffd5e9b703d122dbac2dce9425a88b414f6de97.tar.gz
chromium_src-5ffd5e9b703d122dbac2dce9425a88b414f6de97.tar.bz2
Make sure titles and bodies of web pages that come into the history system very
late are indexed. Very slow pages (>20 seconds) would previously not get indexed. BUG=3835 Review URL: http://codereview.chromium.org/8899 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4201 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/history_backend.cc')
-rw-r--r--chrome/browser/history/history_backend.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc
index afaee0a..c3bdd4a 100644
--- a/chrome/browser/history/history_backend.cc
+++ b/chrome/browser/history/history_backend.cc
@@ -533,7 +533,8 @@ void HistoryBackend::InitImpl() {
// Full-text database. This has to be first so we can pass it to the
// HistoryDatabase for migration.
- text_database_.reset(new TextDatabaseManager(history_dir_, db_.get()));
+ text_database_.reset(new TextDatabaseManager(history_dir_,
+ db_.get(), db_.get()));
if (!text_database_->Init()) {
LOG(WARNING) << "Text database initialization failed, running without it.";
text_database_.reset();