Changeset 132545 in webkit
- Timestamp:
- Oct 25, 2012 5:04:53 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r132543 r132545 1 2012-10-25 Dan Bernstein <mitz@apple.com> 2 3 <rdar://problem/12544626> [cg] RenderBlock::selectionGaps() is extremely slow when there are many floats 4 https://bugs.webkit.org/show_bug.cgi?id=100413 5 6 Reviewed by Anders Carlsson. 7 8 RenderBlock::selectionGaps() calls GraphicsContext::clipOut(const IntRect&) for each float. 9 Sped up the Core Graphics implementation of this function considerably by removing an 10 unnecessary call to CGContextGetClipBoundingBox. 11 12 * platform/graphics/cg/GraphicsContextCG.cpp: 13 (WebCore::GraphicsContext::clipOut): Changed to use CGRectInfinite rather than the bounding 14 box of the current clip. 15 1 16 2012-10-25 Tim Horton <timothy_horton@apple.com> 2 17 -
trunk/Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp
r132525 r132545 1058 1058 return; 1059 1059 1060 CGRect rects[2] = { CG ContextGetClipBoundingBox(platformContext()), rect };1060 CGRect rects[2] = { CGRectInfinite, rect }; 1061 1061 CGContextBeginPath(platformContext()); 1062 1062 CGContextAddRects(platformContext(), rects, 2);
Note: See TracChangeset
for help on using the changeset viewer.