<?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>20449</bug_id>
          
          <creation_ts>2008-08-19 15:06:30 -0700</creation_ts>
          <short_desc>Build fails if LOW_BANDWIDTH_DISPLAY is defined</short_desc>
          <delta_ts>2008-08-20 15:16:20 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</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="Chris Teague">chris.teague</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88849</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Teague">chris.teague</who>
    <bug_when>2008-08-19 15:06:30 -0700</bug_when>
    <thetext>The arm-linux variant does not compile successfully. This bug has been in the nightly since at least r35788, and as recently as r35814.  To reproduce, build with this command line:
./autogen.sh --host=arm-linux --prefix=/usr
make

The errors produced are:
WebCore/loader/FrameLoader.cpp: In member function `void
WebCore::FrameLoader::switchOutLowBandwidthDisplayIfReady()&apos;:
WebCore/loader/FrameLoader.cpp:5032: error: &apos;class
WebCore::ScriptController&apos; has no member named clear&apos;
WebCore/loader/FrameLoader.cpp:5037: error: `instance&apos; is not a member
of `WebCore::DOMImplementation&apos;
make[1]: *** [WebCore/loader/libWebCore_la-FrameLoader.lo] Error 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88873</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-08-19 16:51:42 -0700</bug_when>
    <thetext>*** Bug 20450 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88875</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-08-19 16:55:38 -0700</bug_when>
    <thetext>The code in question is surrounded by an #if USE(LOW_BANDWIDTH_DISPLAY), which is off on every platform.  This suggest that you&apos;ve modified your tree to turn this on, and that the steps you mention to reproduce will not work without a similar modification.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88876</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Teague">chris.teague</who>
    <bug_when>2008-08-19 16:59:48 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; The code in question is surrounded by an #if USE(LOW_BANDWIDTH_DISPLAY), which
&gt; is off on every platform.  This suggest that you&apos;ve modified your tree to turn
&gt; this on, and that the steps you mention to reproduce will not work without a
&gt; similar modification.
&gt; 

Yes, my normal build does in fact turn on the LOW_BANDWIDTH_DISPLAY feature.  However, I did try to build without that turned on, and received the same error.  It sounds like I must have not turned off the low bandwidth when I thought I had.  I will re-try with a clean copy of the latest nightly, and with the LOW_BANDWIDTH_DISPLAY turned off.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88898</commentid>
    <comment_count>4</comment_count>
      <attachid>22887</attachid>
    <who name="Chris Teague">chris.teague</who>
    <bug_when>2008-08-19 23:30:23 -0700</bug_when>
    <thetext>Created attachment 22887
Proposed fix for compile issue

I think this updates the LOW_BANDWIDTH_DISPLAY code to use the new api&apos;s.  This is my first Webkit patch, please let me know if I&apos;ve done something wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88948</commentid>
    <comment_count>5</comment_count>
      <attachid>22887</attachid>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-08-20 15:12:22 -0700</bug_when>
    <thetext>Comment on attachment 22887
Proposed fix for compile issue

r=me. A minor issue in your patch is that you have a tab in your ChangeLog entry.  I&apos;ll fix that as I land your patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88949</commentid>
    <comment_count>6</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-08-20 15:16:20 -0700</bug_when>
    <thetext>Landed in r35863.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>22887</attachid>
            <date>2008-08-19 23:30:23 -0700</date>
            <delta_ts>2008-08-20 15:12:22 -0700</delta_ts>
            <desc>Proposed fix for compile issue</desc>
            <filename>lowbandwidth.patch</filename>
            <type>text/plain</type>
            <size>1664</size>
            <attacher name="Chris Teague">chris.teague</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiAzNTg1MikKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTQgQEAKKzIwMDgtMDgtMTkgIENocmlzIFRlYWd1ZSAgPGNocmlzLnRlYWd1ZUBn
bWFpbC5jb20+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAg
ICAgV0FSTklORzogTk8gVEVTVCBDQVNFUyBBRERFRCBPUiBDSEFOR0VECisJTW9kaWZpZWQgdG8g
Y29tcGlsZSBwcm9wZXJseSB3aGVuIExPV19CQU5EV0lEVEhfRElTUExBWSBpcyBzZXQKKworICAg
ICAgICAqIENoYW5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0b3JlZCB0byBzaGFyZSBt
b3JlIGNvZGUKLSAgICAgICAgICAgIFJlZlB0cjxEb2N1bWVudD4gbmV3RG9jID0gRE9NSW1wbGVt
ZW50YXRpb246Omluc3RhbmNlKCktPgotICAgICAgICAgICAgICAgIGNyZWF0ZURvY3VtZW50KG1f
cmVzcG9uc2VNSU1FVHlwZSwgbV9mcmFtZSwgbV9mcmFtZS0+aW5WaWV3U291cmNlTW9kZSgpKTsK
KyAgICAgICAgICAgIFJlZlB0cjxEb2N1bWVudD4gbmV3RG9jID0gRE9NSW1wbGVtZW50YXRpb246
OmNyZWF0ZURvY3VtZW50KG1fcmVzcG9uc2VNSU1FVHlwZSwgbV9mcmFtZSwgbV9mcmFtZS0+aW5W
aWV3U291cmNlTW9kZSgpKTsKICAgICAgICAgICAgIG1fZnJhbWUtPnNldERvY3VtZW50KG5ld0Rv
Yyk7CiAgICAgICAgICAgICBuZXdEb2MtPnNldFVSTChtX1VSTCk7CiAgICAgICAgICAgICBpZiAo
bV9kZWNvZGVyKQo=
</data>
<flag name="review"
          id="10179"
          type_id="1"
          status="+"
          setter="mrowe"
    />
          </attachment>
      

    </bug>

</bugzilla>