RESOLVED FIXED 161039
Remove a few custom bindings
https://bugs.webkit.org/show_bug.cgi?id=161039
Summary Remove a few custom bindings
Sam Weinig
Reported 2016-08-21 18:05:21 PDT
Remove a few custom bindings
Attachments
Patch (22.44 KB, text/plain)
2016-08-21 18:08 PDT, Sam Weinig
no flags
Patch (23.86 KB, patch)
2016-08-21 18:27 PDT, Sam Weinig
no flags
Patch (23.95 KB, text/plain)
2016-08-21 18:36 PDT, Sam Weinig
no flags
Patch (21.21 KB, patch)
2016-08-21 19:17 PDT, Sam Weinig
no flags
Sam Weinig
Comment 1 2016-08-21 18:08:35 PDT
Sam Weinig
Comment 2 2016-08-21 18:27:33 PDT
Sam Weinig
Comment 3 2016-08-21 18:36:09 PDT
Darin Adler
Comment 4 2016-08-21 18:43:00 PDT
Comment on attachment 286580 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=286580&action=review Looks good! Not sure why it’s not building. > Source/WebCore/html/canvas/CanvasRenderingContext2D.h:86 > + const Vector<float>& webkitLineDash() const { return getLineDash(); } > void setWebkitLineDash(const Vector<float>&); Strange that get is inlined but set is not.
Sam Weinig
Comment 5 2016-08-21 19:17:04 PDT
Sam Weinig
Comment 6 2016-08-21 19:18:14 PDT
(In reply to comment #4) > Comment on attachment 286580 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=286580&action=review > > Looks good! Not sure why it’s not building. > > > Source/WebCore/html/canvas/CanvasRenderingContext2D.h:86 > > + const Vector<float>& webkitLineDash() const { return getLineDash(); } > > void setWebkitLineDash(const Vector<float>&); > > Strange that get is inlined but set is not. Get is identical, set has slightly different semantics, and therefore can't just forward. If they were both identical, I would remove them, and make the bindings forward, but alas, this is the world we live in.
Sam Weinig
Comment 7 2016-08-21 19:19:15 PDT
I was being greedy trying to do two interfaces at once. Latest patch just fixes the canvas interface.
WebKit Commit Bot
Comment 8 2016-08-21 21:06:38 PDT
Comment on attachment 286581 [details] Patch Clearing flags on attachment: 286581 Committed r204700: <http://trac.webkit.org/changeset/204700>
WebKit Commit Bot
Comment 9 2016-08-21 21:06:44 PDT
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.