Skip to content
  • andreas.kling@nokia.com's avatar
    2011-03-28 Andreas Kling <kling@webkit.org> · 27a805d0
    andreas.kling@nokia.com authored
            Reviewed by Benjamin Poulain.
    
            [Qt] Crash when calling QWebFrame::render() in response to QWebPage::repaintRequested()
            https://bugs.webkit.org/show_bug.cgi?id=52629
    
            * WebCoreSupport/ChromeClientQt.cpp:
            (WebCore::ChromeClientQt::invalidateContentsAndWindow): Make the emission of
            QWebPage::repaintRequested() use a Qt::QueuedConnection.
    
            * tests/qwebpage/tst_qwebpage.cpp:
            (RepaintRequestedRenderer::RepaintRequestedRenderer):
            (RepaintRequestedRenderer::onRepaintRequested):
            (tst_QWebPage::renderOnRepaintRequestedShouldNotRecurse): Test that calling
            QWebFrame::render() in a slot connected to to QWebPage::repaintRequested()
            doesn't cause recursive signal emissions.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    27a805d0