Bug 23273 - Avoid use of absolute repaint rect in RenderBox::repaintLayerRectsForImage()
Summary: Avoid use of absolute repaint rect in RenderBox::repaintLayerRectsForImage()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-12 13:58 PST by Simon Fraser (smfr)
Modified: 2009-01-12 16:20 PST (History)
2 users (show)

See Also:


Attachments
Patch, changelog (3.07 KB, patch)
2009-01-12 16:14 PST, Simon Fraser (smfr)
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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