| Index: tracing/tracing/core/scripting_controller.html
|
| diff --git a/tracing/tracing/core/scripting_controller.html b/tracing/tracing/core/scripting_controller.html
|
| index ebeaf182a0217412c65b6ea02e3ab130cb996507..df509708c1923d816201c2c1edc191a89af488c2 100644
|
| --- a/tracing/tracing/core/scripting_controller.html
|
| +++ b/tracing/tracing/core/scripting_controller.html
|
| @@ -25,7 +25,7 @@ tr.exportTo('tr.c', function() {
|
| this.addScriptObject(typeInfo.metadata.name, typeInfo.constructor);
|
| // Also make the object available to the DevTools inspector.
|
| global[typeInfo.metadata.name] = typeInfo.constructor;
|
| - }.bind(this));
|
| + }, this);
|
| }
|
|
|
| function ScriptingObjectRegistry() {
|
| @@ -41,8 +41,8 @@ tr.exportTo('tr.c', function() {
|
| onModelChanged_: function() {
|
| this.scriptObjectValues_.forEach(function(v) {
|
| if (v.onModelChanged)
|
| - v.onModelChanged();
|
| - });
|
| + v.onModelChanged(this.brushingStateController.model);
|
| + }.bind(this));
|
| },
|
|
|
| addScriptObject: function(name, value) {
|
|
|