Summary: | CSSPrimitiveValue: Inline getIdent(). | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||
Component: | CSS | Assignee: | Andreas Kling <kling> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | macpherson, webkit.review.bot | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Andreas Kling
2011-12-17 15:08:12 PST
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> |