[Webkit-unassigned] [Bug 64628] Remove LegacyDefaultOptionalArguments flag from CanvasRenderingContext2d

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 4 18:47:08 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=64628


Adam Barth <abarth at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #103017|review?                     |review+, commit-queue-
               Flag|                            |




--- Comment #11 from Adam Barth <abarth at webkit.org>  2011-08-04 18:47:08 PST ---
(From update of attachment 103017)
View in context: https://bugs.webkit.org/attachment.cgi?id=103017&action=review

> Source/WebCore/html/canvas/CanvasRenderingContext2D.idl:212
> +        void drawImageFromRect(in HTMLImageElement image,
>                                                              in [Optional] float sx, in [Optional] float sy, in [Optional] float sw, in [Optional] float sh,
>                                                              in [Optional] float dx, in [Optional] float dy, in [Optional] float dw, in [Optional] float dh,
>                                                              in [Optional] DOMString compositeOperation);

Maybe re-indent the rest of the arguments?

> Source/WebCore/html/canvas/CanvasRenderingContext2D.idl:238
> -        void setShadow(in float width, in float height, in float blur, in [Optional] DOMString color, in [Optional] float alpha);
> -        void setShadow(in float width, in float height, in float blur, in float grayLevel, in [Optional] float alpha);
> -        void setShadow(in float width, in float height, in float blur, in float r, in float g, in float b, in float a);
> -        void setShadow(in float width, in float height, in float blur, in float c, in float m, in float y, in float k, in float a);
> +        void setShadow(in float width, 
> +                       in float height, 
> +                       in float blur, 
> +                       in [Optional] DOMString color, 
> +                       in [Optional] float alpha);
> +        void setShadow(in float width, 
> +                       in float height, 
> +                       in float blur, 
> +                       in float grayLevel, 
> +                       in [Optional] float alpha);
> +        void setShadow(in float width, 
> +                       in float height, 
> +                       in float blur, 
> +                       in float r, 
> +                       in float g, 
> +                       in float b, 
> +                       in float a);
> +        void setShadow(in float width, 
> +                       in float height, 
> +                       in float blur, 
> +                       in float c, 
> +                       in float m, 
> +                       in float y, 
> +                       in float k, 
> +                       in float a);

Not optional?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list