Changeset 59362 in webkit


Ignore:
Timestamp:
May 13, 2010 7:07:08 AM (14 years ago)
Author:
chang.shu@nokia.com
Message:

2010-05-13 Chang Shu <chang.shu@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

Based on Philip Taylor's test suite, resetting the canvas
state resets the current path.
https://bugs.webkit.org/show_bug.cgi?id=38934

The complete test suite is in the process of checking in.
https://bugs.webkit.org/show_bug.cgi?id=20553

  • html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::reset):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r59360 r59362  
     12010-05-13  Chang Shu  <chang.shu@nokia.com>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        Based on Philip Taylor's test suite, resetting the canvas
     6        state resets the current path.
     7        https://bugs.webkit.org/show_bug.cgi?id=38934
     8
     9        The complete test suite is in the process of checking in.
     10        https://bugs.webkit.org/show_bug.cgi?id=20553
     11
     12        * html/canvas/CanvasRenderingContext2D.cpp:
     13        (WebCore::CanvasRenderingContext2D::reset):
     14
    1152010-05-13  Andrey Kosyakov  <caseq@chromium.org>
    216
  • trunk/WebCore/html/canvas/CanvasRenderingContext2D.cpp

    r58381 r59362  
    115115    m_stateStack.resize(1);
    116116    m_stateStack.first() = State();
     117    m_path.clear();
    117118}
    118119
Note: See TracChangeset for help on using the changeset viewer.