removed unnecessary null tests (tested at call site for performance)
git-svn-id: svn://10.0.0.236/trunk@36308 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1646,8 +1646,6 @@ PRInt32 CSSStyleSheetImpl::RulesMatching(nsIPresContext* aPresContext,
|
||||
|
||||
PRInt32 matchCount = 0;
|
||||
|
||||
if (!aPresContext || !aContent || !aResults) return matchCount;
|
||||
|
||||
nsIAtom* presMedium = nsnull;
|
||||
|
||||
aPresContext->GetMedium(&presMedium);
|
||||
|
||||
Reference in New Issue
Block a user