diff options
Diffstat (limited to 'chrome/browser/webdata/keyword_table.cc')
| -rw-r--r-- | chrome/browser/webdata/keyword_table.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/webdata/keyword_table.cc b/chrome/browser/webdata/keyword_table.cc index 4ecc860..8df072d 100644 --- a/chrome/browser/webdata/keyword_table.cc +++ b/chrome/browser/webdata/keyword_table.cc @@ -60,7 +60,9 @@ void BindURLToStatement(const TemplateURL& url, const TemplateURLData& data = url.data(); s->BindInt64(id_column, data.id); s->BindString16(starting_column, data.short_name); - s->BindString16(starting_column + 1, data.keyword(&url)); + // TODO(pkasting): See comment on TempalteURL::EnsureKeyword(). + s->BindString16(starting_column + 1, + data.keyword(const_cast<TemplateURL*>(&url))); s->BindString(starting_column + 2, data.favicon_url.is_valid() ? history::HistoryDatabase::GURLToDatabaseURL(data.favicon_url) : std::string()); |
