mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 777292 - Use assert for arg validity in nsHTMLAnonymousUtils' GetCSSFloatValue instead of NS_ENSURE_ARG_POINTER; r=ehsan
This commit is contained in:
parent
7bf9fe596b
commit
43d640b048
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user