mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00: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
88e2b537b5
commit
7fc47312ed
@ -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