Changeset 67427 in webkit


Ignore:
Timestamp:
Sep 13, 2010 6:10:21 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

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):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r67423 r67427  
     12010-09-13  Patrick Gansterer  <paroga@paroga.com>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [WINCE] Buildfix for ViewportArguments.cpp
     6        https://bugs.webkit.org/show_bug.cgi?id=45678
     7
     8        Use fabs() instead of abs().
     9        This patch also fixes the return value, when
     10        the value is between -1 and 1.
     11
     12        * dom/ViewportArguments.cpp:
     13        (WebCore::findUserScalableValue):
     14
    1152010-09-13  Darin Adler  <darin@apple.com>
    216
  • trunk/WebCore/dom/ViewportArguments.cpp

    r67376 r67427  
    252252    }
    253253
    254     if (abs(value) < 0)
     254    if (fabs(value) < 1)
    255255        return false;
    256256
Note: See TracChangeset for help on using the changeset viewer.