<?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>47315</bug_id>
          
          <creation_ts>2010-10-06 16:39:10 -0700</creation_ts>
          <short_desc>r69181 breaks compilation of WebCore/platform/graphics/filters/FETile.cpp if ENABLE(SVG) is false.</short_desc>
          <delta_ts>2010-12-20 22:52:13 -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>PC</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="Albert J. Wong">ajwong</reporter>
          <assigned_to name="Dirk Schulze">krit</assigned_to>
          <cc>eric</cc>
    
    <cc>kling</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>290664</commentid>
    <comment_count>0</comment_count>
    <who name="Albert J. Wong">ajwong</who>
    <bug_when>2010-10-06 16:39:10 -0700</bug_when>
    <thetext>In http://trac.webkit.org/changeset/69181, a reference to SVGImageBufferTools::createImageBuffer was added in FETile::apply().  The problem is FETile::apply()&apos;s body is not controlled by ENABLE(SVG), while the declaration of the namespace and functions in SVGImageBufferTools are.  Thus, for builds that have ENABLE(SVG) disabled, this results in a compile error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>290666</commentid>
    <comment_count>1</comment_count>
    <who name="Albert J. Wong">ajwong</who>
    <bug_when>2010-10-06 16:40:06 -0700</bug_when>
    <thetext>Current workaround is to add #if ENABLE(SVG) around the body of FETile::apply() until a better fix can be made.  This should fix compilation in the mean time, and the function doesn&apos;t work as is anyways.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>290671</commentid>
    <comment_count>2</comment_count>
      <attachid>70010</attachid>
    <who name="Albert J. Wong">ajwong</who>
    <bug_when>2010-10-06 16:44:58 -0700</bug_when>
    <thetext>Created attachment 70010
Disable FETime::apply()&apos;s implement if ENABLE(SVG) is false.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>290675</commentid>
    <comment_count>3</comment_count>
      <attachid>70010</attachid>
    <who name="Andreas Kling">kling</who>
    <bug_when>2010-10-06 16:47:04 -0700</bug_when>
    <thetext>Comment on attachment 70010
Disable FETime::apply()&apos;s implement if ENABLE(SVG) is false.

Yuck, but r=me :]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>290833</commentid>
    <comment_count>4</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2010-10-06 23:53:38 -0700</bug_when>
    <thetext>Ouch, it&apos;s even a layering violation that we&apos;re using SVGImageBufferTools from platform/graphics/filters!
I&apos;m going to have a look at that today.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>290838</commentid>
    <comment_count>5</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2010-10-07 00:09:22 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; Ouch, it&apos;s even a layering violation that we&apos;re using SVGImageBufferTools from platform/graphics/filters!
&gt; I&apos;m going to have a look at that today.

Right forgot this too! Maybe we can make some parts more generic in SVGImageBufferTools SVGImageBufferTools::createImageBuffer(tileRect, tileRect, tileImage, DeviceRGB) is not SVG specific IIRC.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>321829</commentid>
    <comment_count>6</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-12-14 01:54:23 -0800</bug_when>
    <thetext>What&apos;s the status here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>324830</commentid>
    <comment_count>7</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-12-20 22:52:13 -0800</bug_when>
    <thetext>r69255.  Please use webkit-patch land to land changes so that bugs are closed after landing.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>70010</attachid>
            <date>2010-10-06 16:44:58 -0700</date>
            <delta_ts>2010-10-06 16:47:04 -0700</delta_ts>
            <desc>Disable FETime::apply()&apos;s implement if ENABLE(SVG) is false.</desc>
            <filename>disable_fetime_apply_for_no_svg.patch</filename>
            <type>text/plain</type>
            <size>1637</size>
            <attacher name="Albert J. Wong">ajwong</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
ODRmNDIyZi4uNzRmZmIyZSAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNSBAQAorMjAxMC0xMC0wNiAgQWxiZXJ0IEouIFdv
bmcgIDxhandvbmdAY2hyb21pdW0ub3JnPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAo
T09QUyEpLgorCisgICAgICAgIHI2OTE4MSBicmVha3MgY29tcGlsYXRpb24gb2YgV2ViQ29yZS9w
bGF0Zm9ybS9ncmFwaGljcy9maWx0ZXJzL0ZFVGlsZS5jcHAgaWYgRU5BQkxFKFNWRykgaXMgZmFs
c2UuCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD00NzMx
NQorCisgICAgICAgIENvbXBpbGUgZml4LiBObyB0ZXN0cy4KKworICAgICAgICAqIHBsYXRmb3J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9pZCBGRVRpbGU6OmFwcGx5KEZpbHRl
ciogZmlsdGVyKQogICAgIHBhdHRlcm4tPnNldFBhdHRlcm5TcGFjZVRyYW5zZm9ybShwYXR0ZXJu
VHJhbnNmb3JtKTsKICAgICBmaWx0ZXJDb250ZXh0LT5zZXRGaWxsUGF0dGVybihwYXR0ZXJuKTsK
ICAgICBmaWx0ZXJDb250ZXh0LT5maWxsUmVjdChGbG9hdFJlY3QoRmxvYXRQb2ludCgpLCBhYnNv
bHV0ZVBhaW50UmVjdCgpLnNpemUoKSkpOworI2VuZGlmCiB9CiAKIHZvaWQgRkVUaWxlOjpkdW1w
KCkKQEAgLTEwNyw0ICsxMTAsMyBAQCBUZXh0U3RyZWFtJiBGRVRpbGU6OmV4dGVybmFsUmVwcmVz
ZW50YXRpb24oVGV4dFN0cmVhbSYgdHMsIGludCBpbmRlbnQpIGNvbnN0CiB9IC8vIG5hbWVzcGFj
ZSBXZWJDb3JlCiAKICNlbmRpZiAvLyBFTkFCTEUoRklMVEVSUykKLQo=
</data>
<flag name="review"
          id="59786"
          type_id="1"
          status="+"
          setter="kling"
    />
          </attachment>
      

    </bug>

</bugzilla>