DescriptionUse CanvasImageSource union type instead of overloading
In CanvasRenderingContext2D.idl, use the already defined union type
CanvasImageSource for the argument to drawImage() and createPattern(),
instead of having one overload of each per union member type.
This reduces the number of overloads for drawImage() from 12 to 3 and
thus greatly reduces the amount of generated bindings code for it.
BUG=430337
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185247
Patch Set 1 #Patch Set 2 : adjust tests #
Total comments: 10
Patch Set 3 : test createPattern(ImageBitmap, ...) #Patch Set 4 : don't append canvases to document.body #Messages
Total messages: 10 (2 generated)
|