| Index: tools/dom/templates/html/impl/impl_HTMLCanvasElement.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_HTMLCanvasElement.darttemplate b/tools/dom/templates/html/impl/impl_HTMLCanvasElement.darttemplate
|
| index 41ecdb9864faa7ab06e51edca6be120127559cb2..1e3a14b246a2c3727db15dcb69eef75167feba01 100644
|
| --- a/tools/dom/templates/html/impl/impl_HTMLCanvasElement.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_HTMLCanvasElement.darttemplate
|
| @@ -7,12 +7,8 @@ part of $LIBRARYNAME;
|
| $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS implements CanvasImageSource$IMPLEMENTS {
|
| $!MEMBERS
|
| /** An API for drawing on this canvas. */
|
| -$if DART2JS
|
| CanvasRenderingContext2D get context2D =>
|
| JS('Null|CanvasRenderingContext2D', '#.getContext(#)', this, '2d');
|
| -$else
|
| - CanvasRenderingContext2D get context2D => getContext('2d');
|
| -$endif
|
|
|
| /**
|
| * Returns a new Web GL context for this canvas.
|
|
|