mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 784739 - Switch from NULL to nullptr in caps/; r=ehsan
This commit is contained in:
parent
aa56affa18
commit
9427539c7c
@ -145,7 +145,7 @@ static void
|
||||
ClearPropertyPolicyEntry(PLDHashTable *table, PLDHashEntryHdr *entry)
|
||||
{
|
||||
PropertyPolicy* pp = (PropertyPolicy*)entry;
|
||||
pp->key = NULL;
|
||||
pp->key = nullptr;
|
||||
}
|
||||
|
||||
// Class Policy
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
NS_IMPL_CLASSINFO(nsNullPrincipal, NULL, nsIClassInfo::MAIN_THREAD_ONLY,
|
||||
NS_IMPL_CLASSINFO(nsNullPrincipal, nullptr, nsIClassInfo::MAIN_THREAD_ONLY,
|
||||
NS_NULLPRINCIPAL_CID)
|
||||
NS_IMPL_QUERY_INTERFACE2_CI(nsNullPrincipal,
|
||||
nsIPrincipal,
|
||||
|
@ -144,7 +144,7 @@ void nsPrincipal::dumpImpl()
|
||||
}
|
||||
#endif
|
||||
|
||||
NS_IMPL_CLASSINFO(nsPrincipal, NULL, nsIClassInfo::MAIN_THREAD_ONLY,
|
||||
NS_IMPL_CLASSINFO(nsPrincipal, nullptr, nsIClassInfo::MAIN_THREAD_ONLY,
|
||||
NS_PRINCIPAL_CID)
|
||||
NS_IMPL_QUERY_INTERFACE2_CI(nsPrincipal,
|
||||
nsIPrincipal,
|
||||
@ -691,7 +691,7 @@ nsPrincipal::GetAppStatus()
|
||||
|
||||
static const char EXPANDED_PRINCIPAL_SPEC[] = "[Expanded Principal]";
|
||||
|
||||
NS_IMPL_CLASSINFO(nsExpandedPrincipal, NULL, nsIClassInfo::MAIN_THREAD_ONLY,
|
||||
NS_IMPL_CLASSINFO(nsExpandedPrincipal, nullptr, nsIClassInfo::MAIN_THREAD_ONLY,
|
||||
NS_EXPANDEDPRINCIPAL_CID)
|
||||
NS_IMPL_QUERY_INTERFACE2_CI(nsExpandedPrincipal,
|
||||
nsIPrincipal,
|
||||
|
@ -2513,8 +2513,8 @@ void
|
||||
nsScriptSecurityManager::Shutdown()
|
||||
{
|
||||
if (sRuntime) {
|
||||
JS_SetSecurityCallbacks(sRuntime, NULL);
|
||||
JS_SetTrustedPrincipals(sRuntime, NULL);
|
||||
JS_SetSecurityCallbacks(sRuntime, nullptr);
|
||||
JS_SetTrustedPrincipals(sRuntime, nullptr);
|
||||
sRuntime = nullptr;
|
||||
}
|
||||
sEnabledID = JSID_VOID;
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include "nsIClassInfoImpl.h"
|
||||
#include "nsIScriptSecurityManager.h"
|
||||
|
||||
NS_IMPL_CLASSINFO(nsSystemPrincipal, NULL,
|
||||
NS_IMPL_CLASSINFO(nsSystemPrincipal, nullptr,
|
||||
nsIClassInfo::SINGLETON | nsIClassInfo::MAIN_THREAD_ONLY,
|
||||
NS_SYSTEMPRINCIPAL_CID)
|
||||
NS_IMPL_QUERY_INTERFACE2_CI(nsSystemPrincipal,
|
||||
|
Loading…
Reference in New Issue
Block a user