<?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>26067</bug_id>
          
          <creation_ts>2009-05-28 13:30:43 -0700</creation_ts>
          <short_desc>Chromium build broken by IntSize change</short_desc>
          <delta_ts>2009-05-28 14:23:59 -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>Platform</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>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Brett Wilson (Google)">brettw</reporter>
          <assigned_to name="Brett Wilson (Google)">brettw</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>123455</commentid>
    <comment_count>0</comment_count>
    <who name="Brett Wilson (Google)">brettw</who>
    <bug_when>2009-05-28 13:30:43 -0700</bug_when>
    <thetext>https://bugs.webkit.org/show_bug.cgi?id=8736 broke the Chromium build which has stricter warnings. The addition of scale() to IntSize implicitly casts a float to int.

Simon, are you sure this shouldn&apos;t round to nearest rather than round down?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123457</commentid>
    <comment_count>1</comment_count>
      <attachid>30748</attachid>
    <who name="Brett Wilson (Google)">brettw</who>
    <bug_when>2009-05-28 13:46:57 -0700</bug_when>
    <thetext>Created attachment 30748
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123461</commentid>
    <comment_count>2</comment_count>
    <who name="Brett Wilson (Google)">brettw</who>
    <bug_when>2009-05-28 14:15:10 -0700</bug_when>
    <thetext>Checked in as 44252</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123462</commentid>
    <comment_count>3</comment_count>
      <attachid>30748</attachid>
    <who name="Brett Wilson (Google)">brettw</who>
    <bug_when>2009-05-28 14:15:33 -0700</bug_when>
    <thetext>Comment on attachment 30748
Patch

Simon, it would still be nice if you could check this after the fact.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123464</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2009-05-28 14:23:59 -0700</bug_when>
    <thetext>This change is fine. I followed IntRect::scale(), which uses C-style casts.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>30748</attachid>
            <date>2009-05-28 13:46:57 -0700</date>
            <delta_ts>2009-05-28 14:15:33 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>intsize.diff</filename>
            <type>text/plain</type>
            <size>1105</size>
            <attacher name="Brett Wilson (Google)">brettw</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
MWQ2Y2U1YS4uNjZiNzY2OCAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNSBAQAorMjAwOS0wNS0yOCAgQnJldHQgV2lsc29u
ICA8YnJldHR3QGNocm9taXVtLm9yZz4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9P
UFMhKS4KKworICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/a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XIpIGNvbnN0Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>