Bug 1206720 - Remove invalid assertions during response image loading. r=jdm

This commit is contained in:
Miko Mynttinen
2015-09-30 16:22:49 +03:00
parent faf985b9cc
commit 93577169c0
2 changed files with 0 additions and 2 deletions

View File

@@ -74,7 +74,6 @@ HTMLSourceElement::WouldMatchMediaForDocument(const nsAString& aMedia,
nsIPresShell* presShell = aDocument->GetShell();
nsPresContext* pctx = presShell ? presShell->GetPresContext() : nullptr;
MOZ_ASSERT(pctx, "Called for document with no prescontext");
nsCSSParser cssParser;
nsRefPtr<nsMediaList> mediaList = new nsMediaList();