2010-10-26 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
authorJocelyn Turcotte <jocelyn.turcotte@nokia.com>
Tue, 26 Oct 2010 19:47:41 +0000 (19:47 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Tue, 26 Oct 2010 20:03:50 +0000 (17:03 -0300)
commit12362e461ed99cf147e17eae3e2ee897bfb9fab4
treebee374bba44b7c61b8180f5f49d0d2b9ab1246e8
parentf5d4208116d14d81ae55e44435d645b98e35be56
2010-10-26  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Fix an assert with QtPixmapInstance creation.
        https://bugs.webkit.org/show_bug.cgi?id=48323

        This places the newly refcounted QtPixmapInstance in a RefPtr
        to prevent an assert on the first ref() call.

        * bridge/qt/qt_pixmapruntime.cpp:
        (JSC::Bindings::QtPixmapInstance::createPixmapRuntimeObject):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/bridge/qt/qt_pixmapruntime.cpp