| Index: chrome/browser/resources/vr_shell/vr_shell_ui_scene.js
|
| diff --git a/chrome/browser/resources/vr_shell/vr_shell_ui_scene.js b/chrome/browser/resources/vr_shell/vr_shell_ui_scene.js
|
| index a83ef30ea09ca787a67c6ac658469cb65ab024e5..e87deaca8ce92e18d4dd98895dc1ec3b4e3cf8d1 100644
|
| --- a/chrome/browser/resources/vr_shell/vr_shell_ui_scene.js
|
| +++ b/chrome/browser/resources/vr_shell/vr_shell_ui_scene.js
|
| @@ -80,7 +80,7 @@ var ui = (function() {
|
| update.id = id;
|
| this.commands.push({
|
| 'type': api.Command.UPDATE_ELEMENT,
|
| - 'data': update
|
| + 'data': update.properties
|
| });
|
| }
|
|
|
| @@ -133,7 +133,7 @@ var ui = (function() {
|
| purge() {
|
| var ids = Object.keys(this.animations);
|
| for (let id_key of ids) {
|
| - var id = parseInt(id_key);
|
| + var id = parseInt(id_key, 10);
|
| this.removeAnimation(id);
|
| }
|
| var ids = this.elements.values();
|
|
|