[Webkit-unassigned] [Bug 47887] New: Remove private: access level directive from WTF_MAKE_FAST_ALLOCATED macro

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 19 00:52:02 PDT 2010


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

           Summary: Remove private: access level directive from
                    WTF_MAKE_FAST_ALLOCATED macro
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: zoltan at webkit.org
        Depends on: 42998


We should remove private directive from the end of the WTF_MAKE_FAST_ALLOCATED macro, because it can causes problems with structs.

This solution isn't nice:

struct a {
    WTF_MAKE_FAST_ALLOCATED
    public:
    int x;
}

Other way is to put the macro to the end of the struct:

struct a {
    int x;
    WTF_MAKE_FAST_ALLOCATED
}

Or we can simply remove "private:" from the end of the macro.

Almost every class contains access level directives explicitly, so removing shouldn't cause much problems.

-- 
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