| Index: third_party/WebKit/Source/devtools/front_end/components_lazy/LineLevelProfile.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/components_lazy/LineLevelProfile.js b/third_party/WebKit/Source/devtools/front_end/components_lazy/LineLevelProfile.js
|
| index e0808e0a704da0edec3e45e68e5ba18e4389c2dd..5695b2df881f6d3707bbe241ebd593e22c20a529 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/components_lazy/LineLevelProfile.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/components_lazy/LineLevelProfile.js
|
| @@ -67,7 +67,7 @@ Components.LineLevelProfile = class {
|
| // TODO(alph): use scriptId instead of urls for the target.
|
| this._locationPool.disposeAll();
|
| Workspace.workspace.uiSourceCodes().forEach(
|
| - uiSourceCode => uiSourceCode.removeAllLineDecorations(Components.LineLevelProfile.LineDecorator.type));
|
| + uiSourceCode => uiSourceCode.removeAllTypeDecorations(Components.LineLevelProfile.LineDecorator.type));
|
| for (var fileInfo of this._files) {
|
| var url = /** @type {string} */ (fileInfo[0]);
|
| var uiSourceCode = Workspace.workspace.uiSourceCodeForURL(url);
|
| @@ -132,7 +132,7 @@ Components.LineLevelProfile.LineDecorator = class {
|
| */
|
| decorate(uiSourceCode, textEditor) {
|
| var gutterType = 'CodeMirror-gutter-performance';
|
| - var decorations = uiSourceCode.lineDecorations(Components.LineLevelProfile.LineDecorator.type);
|
| + var decorations = uiSourceCode.decorations(Components.LineLevelProfile.LineDecorator.type);
|
| textEditor.uninstallGutter(gutterType);
|
| if (!decorations)
|
| return;
|
|
|