Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Unified Diff: chrome/browser/spellchecker/spellcheck_message_filter_mac.cc

Issue 142923005: Allow MessageFilters to restrict listening to specific message classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/spellchecker/spellcheck_message_filter_mac.cc
diff --git a/chrome/browser/spellchecker/spellcheck_message_filter_mac.cc b/chrome/browser/spellchecker/spellcheck_message_filter_mac.cc
index be319c7c836a9b27c4fe0053b783907f03d13538..4766ac7ef510df33cf65b67ddf048f56db82de87 100644
--- a/chrome/browser/spellchecker/spellcheck_message_filter_mac.cc
+++ b/chrome/browser/spellchecker/spellcheck_message_filter_mac.cc
@@ -187,7 +187,8 @@ void SpellingRequest::OnLocalCheckCompleted(
SpellCheckMessageFilterMac::SpellCheckMessageFilterMac(int render_process_id)
- : render_process_id_(render_process_id),
+ : BrowserMessageFilter(SpellCheckMsgStart),
+ render_process_id_(render_process_id),
client_(new SpellingServiceClient) {
}

Powered by Google App Engine
This is Rietveld 408576698