Index: chrome/browser/history/history_backend.cc |
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc |
index 5e3917805960281aae367eb4c9dc4496dc2d591f..09d226a92531263bcafee6321102a0ad4d8606d3 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(); |
} |