Bug 181380

Summary: [Cairo] Contain shadow blur requirement state in a separate object
Product: WebKit Reporter: Zan Dobersek <zan>
Component: New BugsAssignee: Zan Dobersek <zan>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, cgarcia, ews-watchlist, mmaxfield, Ms2ger, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing none

Description Zan Dobersek 2018-01-08 03:16:27 PST
[Cairo] Contain shadow blur requirement state in a separate object
Comment 1 Zan Dobersek 2018-01-08 03:32:31 PST
Created attachment 330675 [details]
Patch
Comment 2 Ms2ger (he/him; ⌚ UTC+1/+2) 2018-01-08 04:05:14 PST
Comment on attachment 330675 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=330675&action=review

> Source/WebCore/ChangeLog:12
> +        transform ingorance are stored there. Additionally, the required()

"ingorance"
Comment 3 Carlos Garcia Campos 2018-01-08 05:04:07 PST
Comment on attachment 330675 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=330675&action=review

> Source/WebCore/platform/graphics/cairo/CairoOperations.h:81
> +    ShadowBlurUsage() = default;

Why is this needed?

> Source/WebCore/platform/graphics/cairo/CairoOperations.h:88
> +    float shadowBlur;
> +    bool shadowsIgnoreTransforms;

These are uninitialized when the default ctor is used.
Comment 4 Zan Dobersek 2018-01-08 06:35:37 PST
Created attachment 330700 [details]
Patch for landing

Addresses all the review comments
Comment 5 Zan Dobersek 2018-01-08 06:38:26 PST
Comment on attachment 330700 [details]
Patch for landing

Clearing flags on attachment: 330700

Committed r226509: <https://trac.webkit.org/changeset/226509>
Comment 6 Zan Dobersek 2018-01-08 06:38:30 PST
All reviewed patches have been landed.  Closing bug.
Comment 7 Radar WebKit Bug Importer 2018-01-08 06:39:17 PST
<rdar://problem/36348527>