DescriptionRemove [TreatNullAs=NullString] from attributes on CanvasRenderingContext2D
This change does not modify the current behavior for the attributes (default values are assigned for null assignment):
CanvasRenderingContext2D.globalCompositeOperation = null => ' source-over '
CanvasRenderingContext2D.shadowColor = null => 'rgba(0,0,0,0)'
CanvasRenderingContext2D.lineCap = null => 'butt'
CanvasRenderingContext2D.lineJoin = null => 'miter'
Behavior is consistent with Firefox Nightly.
BUG=497307
Committed: https://crrev.com/12c12ffc8aa18319bb57c209ddfa7eb58cb56caa
Cr-Commit-Position: refs/heads/master@{#358021}
Patch Set 1 #
Messages
Total messages: 11 (6 generated)
|