Changeset 55552 in webkit


Ignore:
Timestamp:
Mar 4, 2010 1:52:45 PM (14 years ago)
Author:
tonikitoo@webkit.org
Message:

Unreviewed attempt to fix Windows build.

  • page/SpatialNavigation.cpp:

(WebCore::spatialDistance):

Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r55550 r55552  
     12010-03-04  Antonio Gomes  <tonikitoo@webkit.org>
     2
     3        Unreviewed attempt to fix Windows build.
     4
     5        * page/SpatialNavigation.cpp:
     6        (WebCore::spatialDistance):
     7
    182010-03-04  Simon Fraser  <simon.fraser@apple.com>
    29
  • trunk/WebCore/page/SpatialNavigation.cpp

    r55548 r55552  
    387387
    388388    long long distance = (dx * dx) + (dy * dy);
    389     return abs(distance);
     389
     390    if (distance < 0)
     391        distance *= -1;
     392
     393    return distance;
    390394}
    391395
Note: See TracChangeset for help on using the changeset viewer.