Index: chrome/browser/history/history_backend.cc |
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc |
index 53d16737d4d1a6baf4dc48ba3527b6b8788af1bc..2054fbad2f0c306ef9d962220464cd71cd52a14b 100644 |
--- a/chrome/browser/history/history_backend.cc |
+++ b/chrome/browser/history/history_backend.cc |
@@ -1051,10 +1051,9 @@ void HistoryBackend::SetKeywordSearchTermsForURL(const GURL& url, |
db_->SetKeywordSearchTermsForURL(row.id(), keyword_id, term); |
- BroadcastNotifications( |
- chrome::NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_UPDATED, |
- scoped_ptr<HistoryDetails>( |
- new KeywordSearchUpdatedDetails(row, keyword_id, term))); |
+ if (delegate_) |
+ delegate_->NotifyKeywordSearchTermUpdated(row, keyword_id, term); |
+ |
ScheduleCommit(); |
} |