Chromium Code Reviews| Index: lib/runtime/dart_runtime.js |
| diff --git a/lib/runtime/dart_runtime.js b/lib/runtime/dart_runtime.js |
| index cd8ac458821d44ae17e01f0a7aa251e514367b07..7cdacd33726347793c24e5b364d385d1b57942f4 100644 |
| --- a/lib/runtime/dart_runtime.js |
| +++ b/lib/runtime/dart_runtime.js |
| @@ -885,6 +885,7 @@ var dart, _js_helper, _js_primitives; |
| /** Sets the type of `obj` to be `type` */ |
| function setType(obj, type) { |
| obj.__proto__ = type.prototype; |
| + return obj; |
| } |
| dart.setType = setType; |