Bug 796164 - Change NECKO_UNKNOWN_APP_ID to UINT32_MAX. r=ehsan

This commit is contained in:
Jason Duell 2012-10-01 21:44:29 -07:00
parent 0f8e0cfe21
commit 0000a2fb4a

View File

@ -1310,7 +1310,7 @@ NS_UsePrivateBrowsing(nsIChannel *channel)
// Constants duplicated from nsIScriptSecurityManager so we avoid having necko
// know about script security manager.
#define NECKO_NO_APP_ID 0
#define NECKO_UNKNOWN_APP_ID std::numeric_limits<uint32_t>::max()
#define NECKO_UNKNOWN_APP_ID UINT32_MAX
/**
* Gets AppId and isInBrowserElement from channel's nsILoadContext.