Bug 23273

Summary: Avoid use of absolute repaint rect in RenderBox::repaintLayerRectsForImage()
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: hyatt, mitz
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Patch, changelog mitz: review+

Description Simon Fraser (smfr) 2009-01-12 13:58:18 PST
RenderBox::repaintLayerRectsForImage() does some repainting when the image changes that computes an absolute repaint rect. It should not have to use absolute rects for this; it should compute a local rect.
Comment 1 Simon Fraser (smfr) 2009-01-12 16:14:44 PST
Created attachment 26654 [details]
Patch, changelog

This isn't fixing a bug, so no testcase. I'm doing it to make some future repaint cleanup easier.
Comment 2 Simon Fraser (smfr) 2009-01-12 16:20:28 PST
Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	WebCore/ChangeLog
	M	WebCore/rendering/RenderBox.cpp
Committed r39847