diff --git a/docshell/base/nsWebShell.cpp b/docshell/base/nsWebShell.cpp index 7f5c19290a8e..f2d1b3a1d946 100644 --- a/docshell/base/nsWebShell.cpp +++ b/docshell/base/nsWebShell.cpp @@ -1184,7 +1184,7 @@ nsWebShell::Init(nsNativeWidget aNativeParent, #ifndef XP_MAC nsIFactory *multiMixedFactSup; rv = nsComponentManager::FindFactory(kMultiMixedConverterCID, &multiMixedFactSup); - if (SUCCEEDED(rv)) { + if (NS_SUCCEEDED(rv)) { rv = nsComponentManager::RegisterFactory(kMultiMixedConverterCID, "MultiMixedConverter", NS_ISTREAMCONVERTER_KEY "?from=multipart/x-mixed-replace?to=text/html", diff --git a/webshell/src/nsWebShell.cpp b/webshell/src/nsWebShell.cpp index 7f5c19290a8e..f2d1b3a1d946 100644 --- a/webshell/src/nsWebShell.cpp +++ b/webshell/src/nsWebShell.cpp @@ -1184,7 +1184,7 @@ nsWebShell::Init(nsNativeWidget aNativeParent, #ifndef XP_MAC nsIFactory *multiMixedFactSup; rv = nsComponentManager::FindFactory(kMultiMixedConverterCID, &multiMixedFactSup); - if (SUCCEEDED(rv)) { + if (NS_SUCCEEDED(rv)) { rv = nsComponentManager::RegisterFactory(kMultiMixedConverterCID, "MultiMixedConverter", NS_ISTREAMCONVERTER_KEY "?from=multipart/x-mixed-replace?to=text/html",