Bug 78765

Summary: ShadowBlur.cpp's cached content matching needs to consider m_layerSize changes
Product: WebKit Reporter: Matthew Delaney <mdelaney7>
Component: CSSAssignee: Matthew Delaney <mdelaney7>
Status: RESOLVED FIXED    
Severity: Normal CC: simon.fraser, thorton
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch simon.fraser: review+

Matthew Delaney
Reported 2012-02-15 17:30:49 PST
Sometimes shadows draw via ShadowBlur.cpp are corrupted, containing contents of old shadows. The checks in matchesLastShadow() don't consider when m_layerSize changes and thus some of the old content of the scratch buffer might be drawn. This patch is to store the last m_layerSize value and make sure that matches as well.
Attachments
Patch (9.83 KB, patch)
2012-02-16 16:49 PST, Matthew Delaney
simon.fraser: review+
Matthew Delaney
Comment 1 2012-02-15 17:31:18 PST
Matthew Delaney
Comment 2 2012-02-16 16:49:31 PST
Matthew Delaney
Comment 3 2012-02-16 17:40:39 PST
Note You need to log in before you can comment on or make changes to this bug.