2011-05-20 Dirk Schulze <krit@webkit.org>
authorkrit@webkit.org <krit@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 21 May 2011 06:44:01 +0000 (06:44 +0000)
committerkrit@webkit.org <krit@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 21 May 2011 06:44:01 +0000 (06:44 +0000)
commit468eb41eed84d10c230163f5c3155f360b536733
tree4aa5b7044f892e5956784f5523cc35e16ae999c0
parent4b20186e929cd1c7d950218befc0908c36ac29ad
2011-05-20  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        Share more code in PathTraversalState
        https://bugs.webkit.org/show_bug.cgi?id=61238

        Share more code between SVGPathTraversalStateBuilder and Path in PathTraversalState.

        No change in functionality, so no new tests.

        * platform/graphics/Path.cpp:
        (WebCore::pathLengthApplierFunction):
        * platform/graphics/PathTraversalState.cpp:
        (WebCore::PathTraversalState::processSegment):
        * platform/graphics/PathTraversalState.h:
        * svg/SVGPathTraversalStateBuilder.cpp:
        (WebCore::SVGPathTraversalStateBuilder::continueConsuming):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@87011 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/Path.cpp
Source/WebCore/platform/graphics/PathTraversalState.cpp
Source/WebCore/platform/graphics/PathTraversalState.h
Source/WebCore/svg/SVGPathTraversalStateBuilder.cpp