Chromium Code Reviews| Index: src/apinatives.js |
| =================================================================== |
| --- src/apinatives.js (revision 2423) |
| +++ src/apinatives.js (working copy) |
| @@ -51,6 +51,7 @@ |
| var Constructor = %GetTemplateField(data, kApiConstructorOffset); |
| var result = Constructor ? new (Instantiate(Constructor))() : {}; |
| ConfigureTemplateInstance(result, data); |
| + result = %ToFastProperties(result); |
| return result; |
| default: |
| throw 'Unknown API tag <' + tag + '>'; |