RESOLVED FIXED 125260
Web Inspector: ColorWheel uses old Color constructor
https://bugs.webkit.org/show_bug.cgi?id=125260
Summary Web Inspector: ColorWheel uses old Color constructor
Antoine Quint
Reported 2013-12-04 15:24:35 PST
The Color constructor changed in http://trac.webkit.org/changeset/160132 but ColorWheel still uses the old signature.
Attachments
Patch (1.99 KB, patch)
2013-12-04 15:26 PST, Antoine Quint
no flags
Antoine Quint
Comment 1 2013-12-04 15:26:24 PST
Joseph Pecoraro
Comment 2 2013-12-04 15:41:36 PST
Comment on attachment 218463 [details] Patch Isn't 0 black? Shouldn't this be 255, 255, 255, 0? r-
Joseph Pecoraro
Comment 3 2013-12-04 15:42:51 PST
Comment on attachment 218463 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=218463&action=review > Source/WebInspectorUI/UserInterface/ColorWheel.js:103 > + return new WebInspector.Color(WebInspector.Color.Format.RGBA, [0, 0, 0, 0]); Shouldn't this be [255, 255, 255, 0]?
Antoine Quint
Comment 4 2013-12-04 15:51:36 PST
(In reply to comment #3) > (From update of attachment 218463 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=218463&action=review > > > Source/WebInspectorUI/UserInterface/ColorWheel.js:103 > > + return new WebInspector.Color(WebInspector.Color.Format.RGBA, [0, 0, 0, 0]); > > Shouldn't this be [255, 255, 255, 0]? Since the alpha bit is 0, I don't think it makes any difference, it's a clear color anyway.
Joseph Pecoraro
Comment 5 2013-12-04 16:21:46 PST
Comment on attachment 218463 [details] Patch Ahh, gotcha. I should have read the change log closer to see the intent. Thanks!
WebKit Commit Bot
Comment 6 2013-12-04 16:49:45 PST
Comment on attachment 218463 [details] Patch Clearing flags on attachment: 218463 Committed r160145: <http://trac.webkit.org/changeset/160145>
WebKit Commit Bot
Comment 7 2013-12-04 16:49:47 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.