2011-05-23 Matthew Delaney <mdelaney@apple.com>
authorMatt Delaney <mdelaney@apple.com>
Mon, 23 May 2011 22:33:39 +0000 (22:33 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Wed, 29 Jun 2011 14:22:17 +0000 (11:22 -0300)
commit78c01efb8d0231221eed7aebf0511ae242e3dcad
tree3b9015f099a57bcbebe8c37c91657ac30f57e137
parentb3c9336bc71857dffae24f27379e162783fcb9ba
2011-05-23  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Simon Fraser.

        Remove safeFloatToInt() in FloatRect.cpp and replace with working version of clampToInteger()
        https://bugs.webkit.org/show_bug.cgi?id=58216

        * wtf/MathExtras.h:
        (clampToInteger):
        (clampToPositiveInteger):
2011-05-23  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Simon Fraser.

        Remove safeFloatToInt() in FloatRect.cpp and replace with working version of clampToInteger()
        https://bugs.webkit.org/show_bug.cgi?id=58216

        No new tests. The SVG tests mask-excessive-malloc.svg and pattern-excessive-malloc.svg exercise this code path.

        * platform/graphics/FloatRect.cpp:
        (WebCore::enclosingIntRect):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87103 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/wtf/MathExtras.h
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/FloatRect.cpp