2011-06-08 Andreas Kling <kling@webkit.org>
authorAndreas Kling <kling@webkit.org>
Wed, 8 Jun 2011 12:52:34 +0000 (12:52 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Wed, 8 Jun 2011 14:44:05 +0000 (11:44 -0300)
commit607d7b953675d33b936a73ed0af1a69edc94176c
tree0b5359224b47f7734c620559bfed1f2a74832cbf
parentd7ac689f55f867b46975ab7c83f66f015f359e9a
2011-06-08  Andreas Kling  <kling@webkit.org>

        Reviewed by Benjamin Poulain.

        [Qt] FrameLoaderClient: Check Vector::find() return value for WTF::notFound.
        https://bugs.webkit.org/show_bug.cgi?id=62274

        Vector::find() returns size_t (which is unsigned), so we should check
        for WTF::notFound instead of -1.

        * WebCoreSupport/FrameLoaderClientQt.cpp:
        (WebCore::FrameLoaderClientQt::createPlugin):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88339 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/qt/ChangeLog
Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp