getIdent() is trivial, and the other getFoo() methods in CSSPrimitiveValue are already inline (excluding those that may set a DOM exception.)
Created attachment 119738 [details] Patch
Comment on attachment 119738 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=119738&action=review > Source/WebCore/css/CSSPrimitiveValue.h:207 > + int getIdent() const { return m_primitiveUnitType != CSS_IDENT ? 0 : m_value.ident; } I would prefer equality check.
Committed r103161: <http://trac.webkit.org/changeset/103161>