| Index: third_party/WebKit/Source/devtools/front_end/sources/UISourceCodeFrame.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/UISourceCodeFrame.js b/third_party/WebKit/Source/devtools/front_end/sources/UISourceCodeFrame.js
|
| index 7ee4c75ff3c619712a21ddc60e5d3a193e0d7012..7604cf9f6223075edf8f9d62fd40626bfc625075 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/UISourceCodeFrame.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/UISourceCodeFrame.js
|
| @@ -61,10 +61,7 @@ Sources.UISourceCodeFrame = class extends SourceFrame.SourceFrame {
|
| this._messageAndDecorationListeners = [];
|
| this._installMessageAndDecorationListeners();
|
|
|
| - Persistence.persistence.addEventListener(
|
| - Persistence.Persistence.Events.BindingCreated, this._onBindingChanged, this);
|
| - Persistence.persistence.addEventListener(
|
| - Persistence.Persistence.Events.BindingRemoved, this._onBindingChanged, this);
|
| + Persistence.persistence.subscribeForBindingEvent(this._uiSourceCode, this._onBindingChanged.bind(this));
|
|
|
| this.textEditor.addEventListener(
|
| SourceFrame.SourcesTextEditor.Events.EditorBlurred,
|
|
|