<?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>23057</bug_id>
          
          <creation_ts>2008-12-31 07:00:12 -0800</creation_ts>
          <short_desc>PurgeableBuffer #defines leave out functions on gtk MacOSX 10.4 build</short_desc>
          <delta_ts>2009-06-28 04:15:05 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.4</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>0</everconfirmed>
          <reporter name="Luke Kenneth Casson Leighton">lkcl</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>devchan1</cc>
    
    <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>103907</commentid>
    <comment_count>0</comment_count>
    <who name="Luke Kenneth Casson Leighton">lkcl</who>
    <bug_when>2008-12-31 07:00:12 -0800</bug_when>
    <thetext>diff --git a/WebCore/platform/PurgeableBuffer.h b/WebCore/platform/PurgeableBuff
index b8b5c73..20f0ed8 100644
--- a/WebCore/platform/PurgeableBuffer.h
+++ b/WebCore/platform/PurgeableBuffer.h
@@ -62,14 +62,14 @@ namespace WebCore {
         mutable State m_state;
     };
 
-#if !PLATFORM(DARWIN) || defined(BUILDING_ON_TIGER) || PLATFORM(QT)
+/*#if !PLATFORM(DARWIN) || defined(BUILDING_ON_TIGER) || PLATFORM(QT)*/
     inline PurgeableBuffer* PurgeableBuffer::create(const char*, size_t) { retu
     inline PurgeableBuffer::~PurgeableBuffer() { }
     inline const char* PurgeableBuffer::data() const { return 0; }
     inline void PurgeableBuffer::setPurgePriority(PurgePriority) { }
     inline bool PurgeableBuffer::wasPurged() const { return false; }
     inline bool PurgeableBuffer::makePurgeable(bool) { return false; }
-#endif
+/*#endif*/
     
 }</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103908</commentid>
    <comment_count>1</comment_count>
    <who name="Luke Kenneth Casson Leighton">lkcl</who>
    <bug_when>2008-12-31 07:05:20 -0800</bug_when>
    <thetext>removing these #defines on macosx 10.4 result in a successful build.
adding in PurgeableBuffermac.cpp (from WebCore/platform/mac) into
WebCore/GNUMakefile.am results in a compile error about VM_VOLATILE missing etc.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103994</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2009-01-01 15:50:26 -0800</bug_when>
    <thetext>Either things need to be changed such that BUILDING_ON_TIGER will be defined when building the GTK port on Tiger, or the #if needs to be changed to always disable things for GTK, similar to how it is for Qt.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104054</commentid>
    <comment_count>3</comment_count>
    <who name="Luke Kenneth Casson Leighton">lkcl</who>
    <bug_when>2009-01-02 03:43:11 -0800</bug_when>
    <thetext>oh - yes: i get it - &quot;leave out&quot; as in there&apos;s a #if defined(QT) which &quot;brings in&quot; the inline versions of the functions (in the header file) and adding || defined(GTK) ... i get it.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104056</commentid>
    <comment_count>4</comment_count>
      <attachid>26365</attachid>
    <who name="Luke Kenneth Casson Leighton">lkcl</who>
    <bug_when>2009-01-02 03:50:46 -0800</bug_when>
    <thetext>Created attachment 26365
add PLATFORM(GTK) to use inline versions of PurgeableBuffer functions

yep - that did it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104093</commentid>
    <comment_count>5</comment_count>
      <attachid>26365</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-01-02 09:29:49 -0800</bug_when>
    <thetext>Comment on attachment 26365
add PLATFORM(GTK) to use inline versions of PurgeableBuffer functions

The change looks fine, but this needs a ChangeLog, so setting review-. Please put up the same patch with a ChangeLog entry.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128720</commentid>
    <comment_count>6</comment_count>
      <attachid>31990</attachid>
    <who name="Jan Alonzo">jmalonzo</who>
    <bug_when>2009-06-28 00:10:15 -0700</bug_when>
    <thetext>Created attachment 31990
patch with changelog</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128729</commentid>
    <comment_count>7</comment_count>
      <attachid>31990</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-06-28 02:52:13 -0700</bug_when>
    <thetext>Comment on attachment 31990
patch with changelog

Ok.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128734</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-06-28 04:15:05 -0700</bug_when>
    <thetext>Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	WebCore/ChangeLog
	M	WebCore/platform/PurgeableBuffer.h
Committed r45327
http://trac.webkit.org/changeset/45327</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>26365</attachid>
            <date>2009-01-02 03:50:46 -0800</date>
            <delta_ts>2009-06-28 00:10:10 -0700</delta_ts>
            <desc>add PLATFORM(GTK) to use inline versions of PurgeableBuffer functions</desc>
            <filename>f</filename>
            <type>text/plain</type>
            <size>639</size>
            <attacher name="Luke Kenneth Casson Leighton">lkcl</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvcGxhdGZvcm0vUHVyZ2VhYmxlQnVmZmVyLmggYi9XZWJDb3Jl
L3BsYXRmb3JtL1B1cmdlYWJsZUJ1ZmZlci5oCmluZGV4IGI4YjVjNzMuLmEwNTllZDUgMTAwNjQ0
Ci0tLSBhL1dlYkNvcmUvcGxhdGZvcm0vUHVyZ2VhYmxlQnVmZmVyLmgKKysrIGIvV2ViQ29yZS9w
bGF0Zm9ybS9QdXJnZWFibGVCdWZmZXIuaApAQCAtNjIsNyArNjIsNyBAQCBuYW1lc3BhY2UgV2Vi
Q29yZSB7CiAgICAgICAgIG11dGFibGUgU3RhdGUgbV9zdGF0ZTsKICAgICB9OwoKLSNpZiAhUExB
VEZPUk0oREFSV0lOKSB8fCBkZWZpbmVkKEJVSUxESU5HX09OX1RJR0VSKSB8fCBQTEFURk9STShR
VCkKKyNpZiAhUExBVEZPUk0oREFSV0lOKSB8fCBkZWZpbmVkKEJVSUxESU5HX09OX1RJR0VSKSB8
fCBQTEFURk9STShRVCkgfHwgUExBVEZPUk0oR1RLKQogICAgIGlubGluZSBQdXJnZWFibGVCdWZm
ZXIqIFB1cmdlYWJsZUJ1ZmZlcjo6Y3JlYXRlKGNvbnN0IGNoYXIqLCBzaXplX3QpIHsgcmV0dXJu
IDA7IH0KICAgICBpbmxpbmUgUHVyZ2VhYmxlQnVmZmVyOjp+UHVyZ2VhYmxlQnVmZmVyKCkgeyB9
CiAgICAgaW5saW5lIGNvbnN0IGNoYXIqIFB1cmdlYWJsZUJ1ZmZlcjo6ZGF0YSgpIGNvbnN0IHsg
cmV0dXJuIDA7IH0K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>31990</attachid>
            <date>2009-06-28 00:10:15 -0700</date>
            <delta_ts>2009-06-28 02:52:13 -0700</delta_ts>
            <desc>patch with changelog</desc>
            <filename>bugzilla_requires_a_filename.patch</filename>
            <type>text/plain</type>
            <size>1205</size>
            <attacher name="Jan Alonzo">jmalonzo</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlY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AgICBtdXRhYmxlIFN0YXRlIG1fc3RhdGU7CiAgICAgfTsKIAotI2lmICFQTEFURk9S
TShEQVJXSU4pIHx8IGRlZmluZWQoQlVJTERJTkdfT05fVElHRVIpIHx8IFBMQVRGT1JNKFFUKQor
I2lmICFQTEFURk9STShEQVJXSU4pIHx8IGRlZmluZWQoQlVJTERJTkdfT05fVElHRVIpIHx8IFBM
QVRGT1JNKFFUKSB8fCBQTEFURk9STShHVEspCiAgICAgaW5saW5lIFB1cmdlYWJsZUJ1ZmZlciog
UHVyZ2VhYmxlQnVmZmVyOjpjcmVhdGUoY29uc3QgY2hhciosIHNpemVfdCkgeyByZXR1cm4gMDsg
fQogICAgIGlubGluZSBQdXJnZWFibGVCdWZmZXI6On5QdXJnZWFibGVCdWZmZXIoKSB7IH0KICAg
ICBpbmxpbmUgY29uc3QgY2hhciogUHVyZ2VhYmxlQnVmZmVyOjpkYXRhKCkgY29uc3QgeyByZXR1
cm4gMDsgfQo=
</data>
<flag name="review"
          id="16530"
          type_id="1"
          status="+"
          setter="eric"
    />
          </attachment>
      

    </bug>

</bugzilla>