Bug 777292 - Use assert for arg validity in nsHTMLAnonymousUtils' GetCSSFloatValue instead of NS_ENSURE_ARG_POINTER; r=ehsan

This commit is contained in:
Aryeh Gregor 2012-07-27 17:03:25 +03:00
parent 7bf9fe596b
commit 43d640b048

View File

@ -55,7 +55,7 @@ using namespace mozilla;
static PRInt32 GetCSSFloatValue(nsIDOMCSSStyleDeclaration * aDecl,
const nsAString & aProperty)
{
NS_ENSURE_ARG_POINTER(aDecl);
MOZ_ASSERT(aDecl);
nsCOMPtr<nsIDOMCSSValue> value;
// get the computed CSSValue of the property