<?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>40714</bug_id>
          
          <creation_ts>2010-06-16 08:58:42 -0700</creation_ts>
          <short_desc>[Qt] Compilation in QWebPagePrivate::timerEvent with clang</short_desc>
          <delta_ts>2011-04-19 05:15:29 -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>WebKit Qt</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Olivier Goffart">ogoffart</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>benjamin</cc>
    
    <cc>commit-queue</cc>
    
    <cc>hausmann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>238910</commentid>
    <comment_count>0</comment_count>
    <who name="Olivier Goffart">ogoffart</who>
    <bug_when>2010-06-16 08:58:42 -0700</bug_when>
    <thetext>QtWebkit: Fix compilaiton with clang.
    
    QObject::timerEvent is protected and cannot be accessed by QWebPagePrivate
    with clang
    
    QWebPagePrivate is a friend of QWebPage and then should have access to
    all protected members of parents of QWebPage, including QObject.
    But the clang team do not want to conform to this aspect of the specification
    because &quot;It is either a drafting error or a horrible mistake.&quot;
    See http://llvm.org/bugs/show_bug.cgi?id=6840
    
    This change is better because QWebPage does not reimplement the timerEvent
    (QWebPagePrivate::timerEvent is called from QWebPage::event)
    So customers that would reimplement their own timerEvent
    for their own timer now get a chance to catch them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>238915</commentid>
    <comment_count>1</comment_count>
      <attachid>58897</attachid>
    <who name="Olivier Goffart">ogoffart</who>
    <bug_when>2010-06-16 09:10:12 -0700</bug_when>
    <thetext>Created attachment 58897
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>238932</commentid>
    <comment_count>2</comment_count>
      <attachid>58897</attachid>
    <who name="Kenneth Rohde Christiansen">kenneth</who>
    <bug_when>2010-06-16 09:59:39 -0700</bug_when>
    <thetext>Comment on attachment 58897
Patch

Yes I read the thread on the clang bug report and mailing list some time ago :-) r=me!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240308</commentid>
    <comment_count>3</comment_count>
      <attachid>58897</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-06-19 03:04:10 -0700</bug_when>
    <thetext>Comment on attachment 58897
Patch

Clearing flags on attachment: 58897

Committed r61476: &lt;http://trac.webkit.org/changeset/61476&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240309</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-06-19 03:04:16 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240344</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-06-19 08:46:04 -0700</bug_when>
    <thetext>Revision r61476 cherry-picked into qtwebkit-2.0 with commit b44934b2fd56c3e9e19bd9e7d0d0a341d442b195</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>58897</attachid>
            <date>2010-06-16 09:10:12 -0700</date>
            <delta_ts>2010-06-19 03:04:09 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>patch.diff</filename>
            <type>text/plain</type>
            <size>1767</size>
            <attacher name="Olivier Goffart">ogoffart</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYktpdC9xdC9BcGkvcXdlYnBhZ2UuY3BwIGIvV2ViS2l0L3F0L0FwaS9x
d2VicGFnZS5jcHAKaW5kZXggZDQ5YWMxNC4uYWFlYTA0NiAxMDA2NDQKLS0tIGEvV2ViS2l0L3F0
L0FwaS9xd2VicGFnZS5jcHAKKysrIGIvV2ViS2l0L3F0L0FwaS9xd2VicGFnZS5jcHAKQEAgLTU5
Myw3ICs1OTMsNyBAQCB2b2lkIFFXZWJQYWdlUHJpdmF0ZTo6dGltZXJFdmVudChRVGltZXJFdmVu
dCAqZXYpCiAgICAgaWYgKHRpbWVySWQgPT0gdHJpcGxlQ2xpY2tUaW1lci50aW1lcklkKCkpCiAg
ICAgICAgIHRyaXBsZUNsaWNrVGltZXIuc3RvcCgpOwogICAgIGVsc2UKLSAgICAgICAgcS0+UU9i
amVjdDo6dGltZXJFdmVudChldik7CisgICAgICAgIHEtPnRpbWVyRXZlbnQoZXYpOwogfQogCiB2
b2lkIFFXZWJQYWdlUHJpdmF0ZTo6bW91c2VNb3ZlRXZlbnQoUUdyYXBoaWNzU2NlbmVNb3VzZUV2
ZW50KiBldikKZGlmZiAtLWdpdCBhL1dlYktpdC9xdC9DaGFuZ2VMb2cgYi9XZWJLaXQvcXQvQ2hh
bmdlTG9nCmluZGV4IDkwNDkxYzYuLjA5NzAxOWYgMTAwNjQ0Ci0tLSBhL1dlYktpdC9xdC9DaGFu
Z2VMb2cKKysrIGIvV2ViS2l0L3F0L0NoYW5nZUxvZwpAQCAtMSwzICsxLDI4IEBACisyMDEwLTA2
LTE2ICBPbGl2aWVyIEdvZmZhcnQgIDxvbGl2aWVyLmdvZmZhcnRAbm9raWEuY29tPgorCisgICAg
ICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICA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HRpbWVyRXZlbnQK
KyAgICAgICAgZm9yIHRoZWlyIG93biB0aW1lciBub3cgZ2V0IGEgY2hhbmNlIHRvIGNhdGNoIHRo
ZW0uCisKKworICAgICAgICAqIEFwaS9xd2VicGFnZS5jcHA6CisgICAgICAgIChRV2ViUGFnZVBy
aXZhdGU6OnRpbWVyRXZlbnQpOgorCiAyMDEwLTA2LTE2ICBBbGV4aXMgTWVuYXJkIDxhbGV4aXMu
bWVuYXJkQG5va2lhLmNvbT4KIAogICAgICAgICBSZXZpZXdlZCBieSBTaW1vbiBIYXVzbWFubi4K
</data>

          </attachment>
      

    </bug>

</bugzilla>