diff options
Diffstat (limited to 'chrome/browser/spellcheck_host_impl.cc')
-rw-r--r-- | chrome/browser/spellcheck_host_impl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/spellcheck_host_impl.cc b/chrome/browser/spellcheck_host_impl.cc index f69c11d..e0f9fd2 100644 --- a/chrome/browser/spellcheck_host_impl.cc +++ b/chrome/browser/spellcheck_host_impl.cc @@ -99,7 +99,7 @@ SpellCheckHostImpl::SpellCheckHostImpl( custom_dictionary_file_ = personal_file_directory.Append(chrome::kCustomDictionaryFileName); - registrar_.Add(this, NotificationType::RENDERER_PROCESS_CREATED, + registrar_.Add(this, content::NOTIFICATION_RENDERER_PROCESS_CREATED, NotificationService::AllSources()); } @@ -333,10 +333,10 @@ void SpellCheckHostImpl::OnURLFetchComplete(const URLFetcher* source, NewRunnableMethod(this, &SpellCheckHostImpl::SaveDictionaryData)); } -void SpellCheckHostImpl::Observe(NotificationType type, +void SpellCheckHostImpl::Observe(int type, const NotificationSource& source, const NotificationDetails& details) { - DCHECK(type == NotificationType::RENDERER_PROCESS_CREATED); + DCHECK(type == content::NOTIFICATION_RENDERER_PROCESS_CREATED); RenderProcessHost* process = Source<RenderProcessHost>(source).ptr(); InitForRenderer(process); } |