mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Correct comment describing nsRuleData::ValueFor. (Bug 636039, patch 2) r=bzbarsky
nsRuleData::ValueFor does not return null; it checks conditions that would cause it to do so with NS_ABORT_IF_FALSE. Callers are required to check mSIDs.
This commit is contained in:
parent
0618ee48ae
commit
dbf25be692
@ -105,8 +105,10 @@ struct nsRuleData
|
||||
|
||||
/**
|
||||
* Return a pointer to the value object within |this| corresponding
|
||||
* to property |aProperty|, or null if storage for that property has
|
||||
* not been allocated.
|
||||
* to property |aProperty|.
|
||||
*
|
||||
* This function must only be called if the given property is in
|
||||
* mSIDs.
|
||||
*/
|
||||
nsCSSValue* ValueFor(nsCSSProperty aProperty);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user