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>
Severity: Normal CC: simon.fraser, thorton
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Patch simon.fraser: review+

Description Matthew Delaney 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.
Comment 1 Matthew Delaney 2012-02-15 17:31:18 PST
Comment 2 Matthew Delaney 2012-02-16 16:49:31 PST
Created attachment 127467 [details]
Comment 3 Matthew Delaney 2012-02-16 17:40:39 PST
Committed r108008: <http://trac.webkit.org/changeset/108008>