2010-09-13 Patrick Gansterer <paroga@paroga.com>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Sep 2010 01:10:21 +0000 (01:10 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Tue, 14 Sep 2010 18:44:01 +0000 (15:44 -0300)
commit4c32a9238a48e8433630745a5b857a4d9d3f02f6
tree86b8ab4261ab156e59eb0a98ae398fc269248c9f
parent0cf2d84b42da2333adefd8ba6586fd6652618010
2010-09-13  Patrick Gansterer  <paroga@paroga.com>

        Reviewed by Kenneth Rohde Christiansen.

        [WINCE] Buildfix for ViewportArguments.cpp
        https://bugs.webkit.org/show_bug.cgi?id=45678

        Use fabs() instead of abs().
        This patch also fixes the return value, when
        the value is between -1 and 1.

        * dom/ViewportArguments.cpp:
        (WebCore::findUserScalableValue):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67427 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/dom/ViewportArguments.cpp