[Webkit-unassigned] [Bug 121462] New: Introduce CSS_VALUE_TYPE_CASTS macro in order to cast CSSValue type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 16 17:31:11 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=121462

           Summary: Introduce CSS_VALUE_TYPE_CASTS macro in order to cast
                    CSSValue type
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gyuyoung.kim at samsung.com


As r155429 introduced ELEMENT_TYPE_CASTS, CSS_VALUE_TYPE_CASTS can be used by css value type casting. This casting macro will help to detect bad-cast bugs. 

This patch adds the following methods,

 - CSSFooValue* toCSSFooValue(CSSValue*)
 - const CSSFooValue* toCSSFooValue(const CSSValue*)
 - CSSFooValue& toCSSFooValue(CSSValue&)
 - const CSSFooValue& toCSSFooValue(const CSSValue&)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list