2010-09-29 Andreas Kling <andreas.kling@nokia.com>
authorAndreas Kling <andreas.kling@nokia.com>
Wed, 29 Sep 2010 16:46:27 +0000 (16:46 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Fri, 1 Oct 2010 13:10:07 +0000 (10:10 -0300)
commit13e454d7c2a249d2e50298537c91d76d65f70c01
treedd4efc49135fc7d1b278229847cd285334a11124
parentbf85131bbb1f9679c66cdc87bf86bca53b4afde1
2010-09-29  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Ariya Hidayat.

        [Qt] Don't keep local reference to QGraphicsItemOverlay in QGWVPrivate
        https://bugs.webkit.org/show_bug.cgi?id=46812

        Get the QGraphicsItemOverlay* via the QWebPageClient (d->page->d->client)
        instead of keeping a local pointer to it.

        This is cleanup for a follow-up patch.

        * Api/qgraphicswebview.cpp:
        (QGraphicsWebViewPrivate::overlay):
        (QGraphicsWebView::paint):
        (QGraphicsWebView::setPage):
        (QGraphicsWebView::updateGeometry):
        (QGraphicsWebView::setGeometry):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68653 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/qt/Api/qgraphicswebview.cpp
WebKit/qt/ChangeLog