Bug 28334

Summary: Optimize updateFillImages() to not add/remove clients every time
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: mitz
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: OS X 10.5   
Attachments:
Description Flags
Patch hyatt: review+

Description Simon Fraser (smfr) 2009-08-14 18:11:54 PDT
We should optimize the common cases in updateFillImages() to avoid adding/removing if the bgimage does not change.
Comment 1 Simon Fraser (smfr) 2009-08-15 21:10:09 PDT
Created attachment 34915 [details]
Patch
Comment 2 Dave Hyatt 2009-08-15 21:10:53 PDT
Comment on attachment 34915 [details]
Patch

r=me
Comment 3 Simon Fraser (smfr) 2009-08-15 21:41:10 PDT
Fixed in r47333