Bug 1304302 part 2 - Some small fixes. r=heycam

MozReview-Commit-ID: 7rnl4wkMorC
This commit is contained in:
Xidorn Quan
2016-09-26 22:03:25 +10:00
parent 51c2a1c391
commit bb435b8c71
3 changed files with 3 additions and 2 deletions

View File

@@ -1121,7 +1121,7 @@ Loader::CreateSheet(nsIURI* aURI,
// Then our per-document complete sheets.
URIPrincipalReferrerPolicyAndCORSModeHashKey key(aURI, aLoaderPrincipal, aCORSMode, aReferrerPolicy);
StyleSheetHandle completeSheet;
StyleSheetHandle completeSheet = nullptr;
mSheets->mCompleteSheets.Get(&key, &completeSheet);
sheet = completeSheet;
LOG((" From completed: %p", sheet->AsVoidPtr()));