Bug 82524

Summary: [CSS Filters] Avoid rebuilding FEFilters when RenderLayer is destroyed
Product: WebKit Reporter: Alexandru Chiculita <achicu>
Component: Layout and RenderingAssignee: Alexandru Chiculita <achicu>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, webkit-bug-importer, webkit.review.bot
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch V1 none

Description Alexandru Chiculita 2012-03-28 14:01:13 PDT
RenderLayer::updateOrRemoveFilterEffect is called in clearBacking(), which is called from RenderLayer::~RenderLayer, meaning that the filters are rebuild when deleting a layer, but they are not going to be used anyway.

Avoid creating new filters when the RenderLayer is going out of scope.
Comment 1 Radar WebKit Bug Importer 2012-03-28 14:44:40 PDT
<rdar://problem/11141839>
Comment 2 Alexandru Chiculita 2012-03-28 15:25:19 PDT
Created attachment 134422 [details]
Patch V1
Comment 3 WebKit Review Bot 2012-03-28 20:43:06 PDT
Comment on attachment 134422 [details]
Patch V1

Clearing flags on attachment: 134422

Committed r112497: <http://trac.webkit.org/changeset/112497>
Comment 4 WebKit Review Bot 2012-03-28 20:43:10 PDT
All reviewed patches have been landed.  Closing bug.