Bug 225480

Summary: Sampled Page Top Color: move logic out of `Document`
Product: WebKit Reporter: Devin Rousso <hi>
Component: New BugsAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: annulen, bdakin, cdumez, darin, esprehn+autocc, ews-watchlist, gyuyoung.kim, hi, kangil.han, ryuan.choi, sam, sergio, thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch none

Description Devin Rousso 2021-05-06 13:41:33 PDT
.
Comment 1 Devin Rousso 2021-05-06 13:42:46 PDT
Created attachment 427931 [details]
Patch
Comment 2 Devin Rousso 2021-05-06 15:33:14 PDT
Created attachment 427944 [details]
Patch
Comment 3 Sam Weinig 2021-05-07 09:17:37 PDT
Comment on attachment 427944 [details]
Patch

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

> Source/WebCore/ChangeLog:4
> +        Sampled Page Top Color: move logic out of `Document`
> +        https://bugs.webkit.org/show_bug.cgi?id=225480

If you are moving it out of Document, might I suggest moving it to its own struct/class? It seems like an object Page could own.
Comment 4 Darin Adler 2021-05-08 22:01:54 PDT
Comment on attachment 427944 [details]
Patch

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

>> Source/WebCore/ChangeLog:4
>> +        https://bugs.webkit.org/show_bug.cgi?id=225480
> 
> If you are moving it out of Document, might I suggest moving it to its own struct/class? It seems like an object Page could own.

I agree that this is a good suggestion.
Comment 5 Radar WebKit Bug Importer 2021-05-13 13:42:15 PDT
<rdar://problem/77984539>
Comment 6 Devin Rousso 2021-05-13 18:25:02 PDT
Created attachment 428591 [details]
Patch
Comment 7 EWS 2021-05-14 15:30:55 PDT
Tools/Scripts/svn-apply failed to apply attachment 428591 [details] to trunk.
Please resolve the conflicts and upload a new patch.
Comment 8 Devin Rousso 2021-05-14 16:40:48 PDT
Created attachment 428683 [details]
Patch
Comment 9 EWS 2021-05-14 17:29:27 PDT
Committed r277523 (237751@main): <https://commits.webkit.org/237751@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 428683 [details].