| Index: Source/devtools/front_end/promises/PromisePane.js
|
| diff --git a/Source/devtools/front_end/promises/PromisePane.js b/Source/devtools/front_end/promises/PromisePane.js
|
| index e83a8fd6bade41a110b801525b05e42e970a8cd5..cf0daaf87499b4b8150555e36b1b31f0200c79c0 100644
|
| --- a/Source/devtools/front_end/promises/PromisePane.js
|
| +++ b/Source/devtools/front_end/promises/PromisePane.js
|
| @@ -44,8 +44,8 @@ WebInspector.PromisePane = function()
|
| WebInspector.PromisePane.prototype = {
|
| _recordButtonClicked: function(event)
|
| {
|
| - var recording = !this._recordButton.toggled;
|
| - this._recordButton.toggled = recording;
|
| + var recording = !this._recordButton.toggled();
|
| + this._recordButton.setToggled(recording);
|
| this._refreshButton.setEnabled(recording);
|
| if (recording)
|
| this._enablePromiseTracker();
|
|
|