Changeset 69462 in webkit
- Timestamp:
- Oct 9, 2010 4:56:31 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r69454 r69462 1 2010-10-09 Andreas Kling <kling@webkit.org> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] Fast-path in Path::clear() for already empty paths 6 https://bugs.webkit.org/show_bug.cgi?id=47460 7 8 The only way to clear a QPainterPath is to assign QPainterPath() to it. 9 Avoid creating a temporary object etc if the path is already empty. 10 11 * platform/graphics/qt/PathQt.cpp: 12 (WebCore::Path::clear): 13 1 14 2010-10-08 Ryosuke Niwa <rniwa@webkit.org> 2 15 -
trunk/WebCore/platform/graphics/qt/PathQt.cpp
r67808 r69462 336 336 void Path::clear() 337 337 { 338 if (!m_path.elementCount()) 339 return; 338 340 m_path = QPainterPath(); 339 341 }
Note: See TracChangeset
for help on using the changeset viewer.