<?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>32110</bug_id>
          
          <creation_ts>2009-12-03 02:30:31 -0800</creation_ts>
          <short_desc>Allow custom memory allocation control for WebCore&apos;s FrameLoaderClient</short_desc>
          <delta_ts>2009-12-11 08:19:54 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Zoltan Horvath">zoltan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>168335</commentid>
    <comment_count>0</comment_count>
      <attachid>44221</attachid>
    <who name="Zoltan Horvath">zoltan</who>
    <bug_when>2009-12-03 02:30:31 -0800</bug_when>
    <thetext>Created attachment 44221
Patch

Inherits the following class from Noncopyable because it is
instantiated by &apos;new&apos; and no need to be copyable:

class name              - instantiated at: WebCore/&apos;location&apos;

class FrameLoaderClient - (its child class) svg/graphics/SVGImage.cpp:229</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>168336</commentid>
    <comment_count>1</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2009-12-03 02:31:08 -0800</bug_when>
    <thetext>style-queue ran check-webkit-style on attachment 44221 without any errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>168513</commentid>
    <comment_count>2</comment_count>
      <attachid>44221</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-12-03 12:58:19 -0800</bug_when>
    <thetext>Comment on attachment 44221
Patch

Are you using a script to find these?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>168676</commentid>
    <comment_count>3</comment_count>
      <attachid>44221</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2009-12-03 23:28:18 -0800</bug_when>
    <thetext>Comment on attachment 44221
Patch

Are you sure this is right?  This is just an abstract interface.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>168730</commentid>
    <comment_count>4</comment_count>
    <who name="Zoltan Horvath">zoltan</who>
    <bug_when>2009-12-04 05:03:24 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 44221 [details])
&gt; Are you using a script to find these?

No, I&apos;m using a static source analyzer tool (called Columbus, developed by our department) and check the results by &apos;hand&apos;. 

(In reply to comment #3)
&gt; (From update of attachment 44221 [details])
&gt; Are you sure this is right?  This is just an abstract interface.

This is right, but not necessary, so okay, in the future at the case of abstract interfaces I won&apos;t go up to the superclass in the inheritance tree.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>168734</commentid>
    <comment_count>5</comment_count>
    <who name="Zoltan Horvath">zoltan</who>
    <bug_when>2009-12-04 05:16:39 -0800</bug_when>
    <thetext>Hmm. I checked.
This is the instantiation line:

static FrameLoaderClient* dummyFrameLoaderClient =  new EmptyFrameLoaderClient;

So, I have to inherit either EmptyFrameLoaderClient or FrameLoaderClient which are both abstract interfaces. FrameLoaderClient is the super class of EmptyFrameLoaderClient, so firt FrameLoaderClient should be inherited.

(If some classes inherit from Noncopyable it also inherit from FastAllocBase, so the customization of the new/delete operator will be done.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170699</commentid>
    <comment_count>6</comment_count>
      <attachid>44674</attachid>
    <who name="Zoltan Horvath">zoltan</who>
    <bug_when>2009-12-11 04:57:20 -0800</bug_when>
    <thetext>Created attachment 44674
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170702</commentid>
    <comment_count>7</comment_count>
    <who name="Zoltan Horvath">zoltan</who>
    <bug_when>2009-12-11 04:58:30 -0800</bug_when>
    <thetext>Ignore my last comments. You&apos;re right! New patch updated and filed!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170705</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2009-12-11 05:00:42 -0800</bug_when>
    <thetext>style-queue ran check-webkit-style on attachment 44674 without any errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170771</commentid>
    <comment_count>9</comment_count>
      <attachid>44674</attachid>
    <who name="Zoltan Horvath">zoltan</who>
    <bug_when>2009-12-11 08:19:43 -0800</bug_when>
    <thetext>Comment on attachment 44674
Patch

Clearing flags on attachment: 44674

Committed r51990: &lt;http://trac.webkit.org/changeset/51990&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170772</commentid>
    <comment_count>10</comment_count>
    <who name="Zoltan Horvath">zoltan</who>
    <bug_when>2009-12-11 08:19:54 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>44221</attachid>
            <date>2009-12-03 02:30:31 -0800</date>
            <delta_ts>2009-12-11 04:56:55 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>20091203113029.patch</filename>
            <type>text/plain</type>
            <size>1430</size>
            <attacher name="Zoltan Horvath">zoltan</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0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T09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09Ci0tLSBXZWJDb3JlL2xvYWRlci9GcmFtZUxvYWRlckNsaWVu
dC5oCShyZXZpc2lvbiA1MTYyNikKKysrIFdlYkNvcmUvbG9hZGVyL0ZyYW1lTG9hZGVyQ2xpZW50
LmgJKHdvcmtpbmcgY29weSkKQEAgLTc2LDcgKzc2LDcgQEAgbmFtZXNwYWNlIFdlYkNvcmUgewog
CiAgICAgdHlwZWRlZiB2b2lkIChQb2xpY3lDaGVja2VyOjoqRnJhbWVQb2xpY3lGdW5jdGlvbiko
UG9saWN5QWN0aW9uKTsKIAotICAgIGNsYXNzIEZyYW1lTG9hZGVyQ2xpZW50IHsKKyAgICBjbGFz
cyBGcmFtZUxvYWRlckNsaWVudCA6IHB1YmxpYyBOb25jb3B5YWJsZSB7CiAgICAgcHVibGljOgog
ICAgICAgICAvLyBBbiBpbmxpbmUgZnVuY3Rpb24gY2Fubm90IGJlIHRoZSBmaXJzdCBub24tYWJz
dHJhY3QgdmlydHVhbCBmdW5jdGlvbiBkZWNsYXJlZAogICAgICAgICAvLyBpbiB0aGUgY2xhc3Mg
YXMgaXQgcmVzdWx0cyBpbiB0aGUgdnRhYmxlIGJlaW5nIGdlbmVyYXRlZCBhcyBhIHdlYWsgc3lt
Ym9sLgo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>44674</attachid>
            <date>2009-12-11 04:57:20 -0800</date>
            <delta_ts>2009-12-11 08:19:43 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-32110-20091211135718.patch</filename>
            <type>text/plain</type>
            <size>1298</size>
            <attacher name="Zoltan Horvath">zoltan</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG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2FkZXIvRW1wdHlDbGllbnRzLmgJKHJldmlzaW9uIDUxOTgw
KQorKysgV2ViQ29yZS9sb2FkZXIvRW1wdHlDbGllbnRzLmgJKHdvcmtpbmcgY29weSkKQEAgLTE2
Nyw3ICsxNjcsNyBAQCBwdWJsaWM6CiAjZW5kaWYKIH07CiAKLWNsYXNzIEVtcHR5RnJhbWVMb2Fk
ZXJDbGllbnQgOiBwdWJsaWMgRnJhbWVMb2FkZXJDbGllbnQgeworY2xhc3MgRW1wdHlGcmFtZUxv
YWRlckNsaWVudCA6IHB1YmxpYyBGcmFtZUxvYWRlckNsaWVudCwgcHVibGljIE5vbmNvcHlhYmxl
IHsKIHB1YmxpYzoKICAgICB2aXJ0dWFsIH5FbXB0eUZyYW1lTG9hZGVyQ2xpZW50KCkgeyAgfQog
ICAgIHZpcnR1YWwgdm9pZCBmcmFtZUxvYWRlckRlc3Ryb3llZCgpIHsgfQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>