<?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>45923</bug_id>
          
          <creation_ts>2010-09-16 15:28:19 -0700</creation_ts>
          <short_desc>[Qt] Remove unnecessary QPainter::clipPath() call in TransparencyLayer()</short_desc>
          <delta_ts>2010-09-17 08:15: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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</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>Performance, Qt, QtTriaged</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andreas Kling">kling</reporter>
          <assigned_to name="QtWebKit Unassigned">webkit-qt-unassigned</assigned_to>
          <cc>ademar</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>280390</commentid>
    <comment_count>0</comment_count>
    <who name="Andreas Kling">kling</who>
    <bug_when>2010-09-16 15:28:19 -0700</bug_when>
    <thetext>QPainter::clipPath() can be very expensive, so use QPainter::hasClipping() instead of QPainter::clipPath().isEmpty().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280393</commentid>
    <comment_count>1</comment_count>
      <attachid>67846</attachid>
    <who name="Andreas Kling">kling</who>
    <bug_when>2010-09-16 15:29:30 -0700</bug_when>
    <thetext>Created attachment 67846
Proposed patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280396</commentid>
    <comment_count>2</comment_count>
      <attachid>67846</attachid>
    <who name="Ariya Hidayat">ariya.hidayat</who>
    <bug_when>2010-09-16 15:31:46 -0700</bug_when>
    <thetext>Comment on attachment 67846
Proposed patch

LGTM. re=me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280401</commentid>
    <comment_count>3</comment_count>
      <attachid>67846</attachid>
    <who name="Andreas Kling">kling</who>
    <bug_when>2010-09-16 15:35:37 -0700</bug_when>
    <thetext>Comment on attachment 67846
Proposed patch

Clearing flags on attachment: 67846

Committed r67675: &lt;http://trac.webkit.org/changeset/67675&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280402</commentid>
    <comment_count>4</comment_count>
    <who name="Andreas Kling">kling</who>
    <bug_when>2010-09-16 15:35:47 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280646</commentid>
    <comment_count>5</comment_count>
    <who name="Ademar Reis">ademar</who>
    <bug_when>2010-09-17 08:15:06 -0700</bug_when>
    <thetext>Revision r67675 cherry-picked into qtwebkit-2.1 with commit 52d2178 &lt;http://gitorious.org/webkit/qtwebkit/commit/52d2178&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>67846</attachid>
            <date>2010-09-16 15:29:30 -0700</date>
            <delta_ts>2010-09-16 15:35:37 -0700</delta_ts>
            <desc>Proposed patch</desc>
            <filename>bug-45923.diff</filename>
            <type>text/plain</type>
            <size>1413</size>
            <attacher name="Andreas Kling">kling</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
ZDIwZmJhMC4uY2I2NjdjYyAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VM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