From da4c7e7ed675c3bf405668739c3012d140856109 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:34:42 +0200 Subject: Adding upstream version 126.0. Signed-off-by: Daniel Baumann --- extensions/spellcheck/hunspell/glue/mozHunspell.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions/spellcheck/hunspell') diff --git a/extensions/spellcheck/hunspell/glue/mozHunspell.cpp b/extensions/spellcheck/hunspell/glue/mozHunspell.cpp index a69dcd6b05..1c6a60ae81 100644 --- a/extensions/spellcheck/hunspell/glue/mozHunspell.cpp +++ b/extensions/spellcheck/hunspell/glue/mozHunspell.cpp @@ -69,14 +69,14 @@ #include "nsIPrefBranch.h" #include "nsIPrefService.h" #include "nsNetUtil.h" -#include "mozilla/dom/ContentParent.h" +#include "prenv.h" #include "mozilla/Components.h" #include "mozilla/Services.h" +#include "mozilla/dom/ContentParent_NotifyUpdatedDictionaries.h" #include #include -using mozilla::dom::ContentParent; using namespace mozilla; NS_IMPL_CYCLE_COLLECTING_ADDREF(mozHunspell) @@ -294,7 +294,7 @@ void mozHunspell::DictionariesChanged(bool aNotifyChildProcesses) { mozInlineSpellChecker::UpdateCanEnableInlineSpellChecking(); if (aNotifyChildProcesses) { - ContentParent::NotifyUpdatedDictionaries(); + mozilla::dom::ContentParent_NotifyUpdatedDictionaries(); } // Check if the current dictionaries are still available. -- cgit v1.2.3