Chromium Code Reviews| Index: lib/html/templates/html/dart2js/factoryprovider_CSSMatrix.darttemplate |
| diff --git a/lib/html/templates/html/dart2js/factoryprovider_CSSMatrix.darttemplate b/lib/html/templates/html/dart2js/factoryprovider_CSSMatrix.darttemplate |
| index 6abf326544596c851846e366d772c43e986f6708..261bd5c8606786f58b20cb9be22fd8543b88d86e 100644 |
| --- a/lib/html/templates/html/dart2js/factoryprovider_CSSMatrix.darttemplate |
| +++ b/lib/html/templates/html/dart2js/factoryprovider_CSSMatrix.darttemplate |
| @@ -3,6 +3,6 @@ |
| // BSD-style license that can be found in the LICENSE file. |
| class $FACTORYPROVIDER { |
| - static CSSMatrix createCSSMatrix([String cssValue = '']) native |
| - 'return new WebKitCSSMatrix(cssValue);'; |
| + static CSSMatrix createCSSMatrix([String cssValue = '']) => |
|
floitsch
2012/10/12 13:40:17
by convention we put "=>" into the next line.
sra1
2012/10/12 21:39:47
I disagree that this is the convention.
In pkg, it
|
| + JS('CSSMatrix', 'new WebKitCSSMatrix(#)', cssValue); |
| } |