mirror of
https://github.com/roytam1/basilisk55.git
synced 2026-05-26 05:02:25 +00:00
ported from UXP: Issue #2858 - keep type in line with definition. (ffd00e40)
This commit is contained in:
@@ -478,7 +478,7 @@ nsPrincipal::Write(nsIObjectOutputStream* aStream)
|
||||
// TODO: figure out exactly why this happens and fix the root cause.
|
||||
nsCSPContext* CSPContext = static_cast<nsCSPContext*>(mCSP.get());
|
||||
if(CSPContext) {
|
||||
int8_t CSPDepth = CSPContext->AddRef();
|
||||
auto CSPDepth = CSPContext->AddRef();
|
||||
CSPContext->Release();
|
||||
if(CSPDepth > 10) return NS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user