Bug 1408315 - Remove unused nsCSSParser local variable in HTMLSourceElement::UpdateMediaList. r=bkelly

MozReview-Commit-ID: EQAaoPUTUnc
This commit is contained in:
Cameron McCormack
2017-10-13 16:03:34 +08:00
parent c729516f96
commit 383a4ee9fd

View File

@@ -14,7 +14,6 @@
#include "nsGkAtoms.h"
#include "nsCSSParser.h"
#include "nsHostObjectProtocolHandler.h"
#include "mozilla/Preferences.h"
@@ -89,7 +88,6 @@ HTMLSourceElement::UpdateMediaList(const nsAttrValue* aValue)
return;
}
nsCSSParser cssParser;
mMediaList = MediaList::Create(OwnerDoc()->GetStyleBackendType(), mediaStr);
}