<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>47887</bug_id>
          
          <creation_ts>2010-10-19 00:52:02 -0700</creation_ts>
          <short_desc>Remove private: access level directive from WTF_MAKE_FAST_ALLOCATED macro</short_desc>
          <delta_ts>2010-11-22 01:29:59 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Template Framework</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>42998</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Zoltan Horvath">zoltan</reporter>
          <assigned_to name="Zoltan Horvath">zoltan</assigned_to>
          <cc>andersca</cc>
    
    <cc>darin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>296037</commentid>
    <comment_count>0</comment_count>
    <who name="Zoltan Horvath">zoltan</who>
    <bug_when>2010-10-19 00:52:02 -0700</bug_when>
    <thetext>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&apos;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 &quot;private:&quot; from the end of the macro.

Almost every class contains access level directives explicitly, so removing shouldn&apos;t cause much problems.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296038</commentid>
    <comment_count>1</comment_count>
      <attachid>71139</attachid>
    <who name="Zoltan Horvath">zoltan</who>
    <bug_when>2010-10-19 00:53:22 -0700</bug_when>
    <thetext>Created attachment 71139
proposed patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>312244</commentid>
    <comment_count>2</comment_count>
      <attachid>71139</attachid>
    <who name="Zoltan Horvath">zoltan</who>
    <bug_when>2010-11-22 01:29:48 -0800</bug_when>
    <thetext>Comment on attachment 71139
proposed patch

I&apos;ve chosen the first solution since it is unambiguous.
Closing as invalid.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>71139</attachid>
            <date>2010-10-19 00:53:22 -0700</date>
            <delta_ts>2010-11-22 01:29:47 -0800</delta_ts>
            <desc>proposed patch</desc>
            <filename>macro.patch</filename>
            <type>text/plain</type>
            <size>1106</size>
            <attacher name="Zoltan Horvath">zoltan</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZyBiL0phdmFTY3JpcHRDb3JlL0No
YW5nZUxvZwppbmRleCA4NjA2MWVjLi4zOTcyYTU0IDEwMDY0NAotLS0gYS9KYXZhU2NyaXB0Q29y
ZS9DaGFuZ2VMb2cKKysrIGIvSmF2YVNjcmlwdENvcmUvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTUg
QEAKKzIwMTAtMTAtMTkgIFpvbHRhbiBIb3J2YXRoICA8em9sdGFuQHdlYmtpdC5vcmc+CisKKyAg
ICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgUmVtb3ZlIHByaXZh
dGU6IGFjY2VzcyBsZXZlbCBkaXJlY3RpdmUgZnJvbSBXVEZfTUFLRV9GQVNUX0FMTE9DQVRFRCBt
YWNybworICAgICAgICBodHRwczovL2J1Z3Mud2Via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