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 50b23adc857277cb2231781bcc2682675aafd5fc..725d38136da667a044c38dcb339d8e8cdfbb95d0 100644 |
--- a/tools/dom/templates/html/impl/impl_HTMLCanvasElement.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_HTMLCanvasElement.darttemplate |
@@ -6,7 +6,8 @@ part of $LIBRARYNAME; |
$(ANNOTATIONS)class $CLASSNAME$EXTENDS implements CanvasImageSource$IMPLEMENTS$NATIVESPEC { |
$!MEMBERS |
- CanvasRenderingContext2D get context2d => getContext('2d'); |
+ /** Accessor to the drawing API on canvas. */ |
Andrei Mouravski
2013/04/05 22:31:21
Getters should be noun phrases as if they were fie
|
+ CanvasRenderingContext2D get context2D => getContext('2d'); |
blois
2013/04/05 22:35:56
Might be kind to add a deprecated version of the o
|
@SupportedBrowser(SupportedBrowser.CHROME) |
@SupportedBrowser(SupportedBrowser.FIREFOX) |