Changeset 65894 in webkit
- Timestamp:
- Aug 24, 2010 6:40:49 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r65893 r65894 1 2010-08-24 Dirk Schulze <krit@webkit.org> 2 3 Reviewed by Nikolas Zimmermann. 4 5 Cg logs "<Error>: CGPathCloseSubpath: no current point. " in lots of tests 6 https://bugs.webkit.org/show_bug.cgi?id=43026 7 8 Check if the path is empty before closing it. 9 10 * svg/SVGPathBuilder.cpp: 11 (WebCore::SVGPathBuilder::moveTo): 12 1 13 2010-08-24 Marcus Bulach <bulach@chromium.org> 2 14 -
trunk/WebCore/svg/SVGPathBuilder.cpp
r64898 r65894 38 38 ASSERT(m_path); 39 39 m_current = mode == AbsoluteCoordinates ? targetPoint : m_current + targetPoint; 40 if (closed )40 if (closed && !m_path->isEmpty()) 41 41 m_path->closeSubpath(); 42 42 m_path->moveTo(m_current);
Note: See TracChangeset
for help on using the changeset viewer.