[Color] Replace uses of differenceSquared() with luminance based computations
Created attachment 401282 [details] Patch
Created attachment 401294 [details] Patch
Created attachment 401301 [details] Patch
Created attachment 401302 [details] Patch
Created attachment 401305 [details] Patch
Created attachment 401307 [details] Patch
Comment on attachment 401307 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=401307&action=review > Source/WebCore/platform/graphics/Color.h:139 > + WEBCORE_EXPORT Color lighten() const; > + WEBCORE_EXPORT Color darken() const; A Cocoa-style name would be lightened/darkened or lightened/darkenedColor.
Committed r262729: <https://trac.webkit.org/changeset/262729> All reviewed patches have been landed. Closing bug and clearing flags on attachment 401307 [details].
<rdar://problem/64128197>