<?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>49954</bug_id>
          
          <creation_ts>2010-11-22 19:27:44 -0800</creation_ts>
          <short_desc>[Qt] Avoid unnecessary calls to GraphicsContextPlatformPrivate::p()</short_desc>
          <delta_ts>2010-12-17 04:05:38 -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>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>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="Renata Hodovan">rhodovan.u-szeged</assigned_to>
          <cc>commit-queue</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>312665</commentid>
    <comment_count>0</comment_count>
    <who name="Andreas Kling">kling</who>
    <bug_when>2010-11-22 19:27:44 -0800</bug_when>
    <thetext>Some methods in GraphicsContextQt.cpp call m_data-&gt;p() multiple times.
We should stash it in a QPainter* and reuse that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>322640</commentid>
    <comment_count>1</comment_count>
      <attachid>76656</attachid>
    <who name="Andreas Kling">kling</who>
    <bug_when>2010-12-15 09:47:28 -0800</bug_when>
    <thetext>Created attachment 76656
Proposed patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>323126</commentid>
    <comment_count>2</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-12-16 05:33:50 -0800</bug_when>
    <thetext>The commit-queue encountered the following flaky tests while processing attachment 76656:

inspector/timeline-paint.html bug 51182 (authors: pfeldman@chromium.org and yurys@chromium.org)
java/argument-to-object-type.html bug 51102 (author: ap@webkit.org)
The commit-queue is continuing to process your patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>323169</commentid>
    <comment_count>3</comment_count>
      <attachid>76656</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-12-16 07:37:40 -0800</bug_when>
    <thetext>Comment on attachment 76656
Proposed patch

Rejecting attachment 76656 from commit-queue.

Failed to run &quot;[&apos;./WebKitTools/Scripts/webkit-patch&apos;, &apos;--status-host=queues.webkit.org&apos;, &apos;--bot-id=cr-jail-3&apos;, &apos;apply-attachment&apos;, &apos;--non-interactive&apos;, 76656]&quot; exit_code: 2
Last 500 characters of output:
ailed to merge in the changes.
Patch failed at 0001 2010-12-16  Yury Semikhatsky  &lt;yurys@chromium.org&gt;

When you have resolved this problem run &quot;git rebase --continue&quot;.
If you would prefer to skip this patch, instead run &quot;git rebase --skip&quot;.
To restore the original branch and stop rebasing run &quot;git rebase --abort&quot;.

rebase refs/remotes/origin/master: command returned error: 1

Died at WebKitTools/Scripts/update-webkit line 132.

Failed to run &quot;[&apos;WebKitTools/Scripts/update-webkit&apos;]&quot; exit_code: 2

Full output: http://queues.webkit.org/results/7115058</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>323698</commentid>
    <comment_count>4</comment_count>
      <attachid>76656</attachid>
    <who name="Andreas Kling">kling</who>
    <bug_when>2010-12-17 04:05:29 -0800</bug_when>
    <thetext>Comment on attachment 76656
Proposed patch

Clearing flags on attachment: 76656

Committed r74248: &lt;http://trac.webkit.org/changeset/74248&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>323699</commentid>
    <comment_count>5</comment_count>
    <who name="Andreas Kling">kling</who>
    <bug_when>2010-12-17 04:05:38 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>76656</attachid>
            <date>2010-12-15 09:47:28 -0800</date>
            <delta_ts>2010-12-17 04:05:29 -0800</delta_ts>
            <desc>Proposed patch</desc>
            <filename>bug-49954.diff</filename>
            <type>text/plain</type>
            <size>1815</size>
            <attacher name="Andreas Kling">kling</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
YzBkYjcxNS4uYjc1MzAxYiAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNCBAQAorMjAxMC0xMi0xNSAgQW5kcmVhcyBLbGlu
ZyAgPGFuZHJlYXMua2xpbmdAbm9raWEuY29tPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9E
WSAoT09QUyEpLgorCisgICAgICAgIFtRdF0gQXZvaWQgdW5uZWNlc3NhcnkgY2FsbHMgdG8gR3Jh
cGhpY3NDb250ZXh0UGxhdGZvcm1Qcml2YXRlOjpwKCkKKyAgICAgICAgaHR0cHM6Ly9idWdzLndl
YmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTQ5OTU0CisKKyAgICAgICAgKiBwbGF0Zm9ybS9ncmFw
aGljcy9xdC9HcmFwaGljc0NvbnRleHRRdC5jcHA6CisgICAgICAgIChXZWJDb3JlOjpHcmFwaGlj
c0NvbnRleHQ6OnB1c2hUcmFuc3BhcmVuY3lMYXllckludGVybmFsKToKKyAgICAgICAgKFdlYkNv
cmU6OkdyYXBoaWNzQ29udGV4dDo6YmVnaW5UcmFuc3BhcmVuY3lMYXllcik6CisKIDIwMTAt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