Bug 416942. Give user and ua sheets the system principal. r+sr=sicking

git-svn-id: svn://10.0.0.236/trunk@256566 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2009-03-17 22:17:51 +00:00
parent d1e4653cda
commit 93c4cc49f1
16 changed files with 184 additions and 60 deletions

View File

@@ -223,12 +223,13 @@ nsLayoutStylesheetCache::LoadSheet(nsIURI* aURI, nsCOMPtr<nsICSSStyleSheet> &aSh
NS_NewCSSLoader(&gCSSLoader);
if (gCSSLoader) {
gCSSLoader->LoadSheetSync(aURI, aEnableUnsafeRules, getter_AddRefs(aSheet));
gCSSLoader->LoadSheetSync(aURI, aEnableUnsafeRules, PR_TRUE,
getter_AddRefs(aSheet));
}
}
nsLayoutStylesheetCache*
nsLayoutStylesheetCache::gStyleCache = nsnull;
nsICSSLoader*
nsICSSLoader_1_9_0_BRANCH*
nsLayoutStylesheetCache::gCSSLoader = nsnull;