Bug 28334 - Optimize updateFillImages() to not add/remove clients every time
Summary: Optimize updateFillImages() to not add/remove clients every time
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All OS X 10.5
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-14 18:11 PDT by Simon Fraser (smfr)
Modified: 2009-08-15 21:41 PDT (History)
1 user (show)

See Also:


Attachments
Patch (1.51 KB, patch)
2009-08-15 21:10 PDT, Simon Fraser (smfr)
hyatt: 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-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