Changeset 70307 in webkit


Ignore:
Timestamp:
Oct 22, 2010 8:35:01 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-10-22 Andreas Kling <kling@webkit.org>

Reviewed by Kenneth Rohde Christiansen.

[Gtk] Fix canvas/philip/tests/2d.path.isPointInPath.nonfinite.html
https://bugs.webkit.org/show_bug.cgi?id=48133

  • platform/gtk/Skipped: Unskip the now passing test.

2010-10-22 Andreas Kling <kling@webkit.org>

Reviewed by Kenneth Rohde Christiansen.

[Gtk] Fix canvas/philip/tests/2d.path.isPointInPath.nonfinite.html
https://bugs.webkit.org/show_bug.cgi?id=48133

  • platform/graphics/cairo/PathCairo.cpp: (WebCore::Path::contains): Return false if any x or y are nonfinite.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r70304 r70307  
     12010-10-22  Andreas Kling  <kling@webkit.org>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [Gtk] Fix canvas/philip/tests/2d.path.isPointInPath.nonfinite.html
     6        https://bugs.webkit.org/show_bug.cgi?id=48133
     7
     8        * platform/gtk/Skipped: Unskip the now passing test.
     9
    1102010-10-22  François Sausset  <sausset@gmail.com>
    211
  • trunk/LayoutTests/platform/gtk/Skipped

    r70253 r70307  
    56165616canvas/philip/tests/2d.path.arcTo.collinear.3.html
    56175617canvas/philip/tests/2d.path.closePath.nextpoint.html
    5618 canvas/philip/tests/2d.path.isPointInPath.nonfinite.html
    56195618canvas/philip/tests/2d.path.rect.selfintersect.html
    56205619canvas/philip/tests/2d.path.rect.zero.6.html
  • trunk/WebCore/ChangeLog

    r70306 r70307  
     12010-10-22  Andreas Kling  <kling@webkit.org>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [Gtk] Fix canvas/philip/tests/2d.path.isPointInPath.nonfinite.html
     6        https://bugs.webkit.org/show_bug.cgi?id=48133
     7
     8        * platform/graphics/cairo/PathCairo.cpp:
     9        (WebCore::Path::contains): Return false if any x or y are nonfinite.
     10
    1112010-10-22  Alexander Pavlov  <apavlov@chromium.org>
    212
  • trunk/WebCore/platform/graphics/cairo/PathCairo.cpp

    r69505 r70307  
    275275bool Path::contains(const FloatPoint& point, WindRule rule) const
    276276{
     277    if (!isfinite(point.x()) || !isfinite(point.y()))
     278        return false;
    277279    cairo_t* cr = platformPath()->context();
    278280    cairo_fill_rule_t cur = cairo_get_fill_rule(cr);
Note: See TracChangeset for help on using the changeset viewer.