summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/history/in_memory_url_index.cc2
-rw-r--r--chrome/browser/history/in_memory_url_index.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/history/in_memory_url_index.cc b/chrome/browser/history/in_memory_url_index.cc
index bb24d38..54de552 100644
--- a/chrome/browser/history/in_memory_url_index.cc
+++ b/chrome/browser/history/in_memory_url_index.cc
@@ -71,6 +71,8 @@ ScoredHistoryMatch::ScoredHistoryMatch(const URLRow& url_info)
raw_score(0),
prefix_adjust(0) {}
+ScoredHistoryMatch::~ScoredHistoryMatch() {}
+
struct InMemoryURLIndex::TermCharWordSet {
TermCharWordSet() // Required for STL resize().
: char_(0),
diff --git a/chrome/browser/history/in_memory_url_index.h b/chrome/browser/history/in_memory_url_index.h
index acd4346..b4bd266 100644
--- a/chrome/browser/history/in_memory_url_index.h
+++ b/chrome/browser/history/in_memory_url_index.h
@@ -60,6 +60,7 @@ typedef std::vector<TermMatch> TermMatches;
struct ScoredHistoryMatch : public HistoryMatch {
ScoredHistoryMatch(); // Required by STL.
explicit ScoredHistoryMatch(const URLRow& url_info);
+ ~ScoredHistoryMatch();
// An interim score taking into consideration location and completeness
// of the match.