Skip to content

Commit ad11b9e

Browse files
szuendDevtools-frontend LUCI CQ
authored andcommitted
[workspace] Replace one more usage of IgnoreListManager.instance()
R=nvitkov@chromium.org Bug: 458180550 Change-Id: I6efa46cbeb33f6d0ac5b7ba054119be4cea8ad03 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/7165022 Reviewed-by: Nikolay Vitkov <nvitkov@chromium.org> Auto-Submit: Simon Zünd <szuend@chromium.org> Commit-Queue: Nikolay Vitkov <nvitkov@chromium.org>
1 parent 9158e59 commit ad11b9e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

front_end/models/workspace/IgnoreListManager.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,7 @@ export class IgnoreListManager extends Common.ObjectWrapper.ObjectWrapper<EventT
257257
private async updateScriptRanges(script: SDK.Script.Script, sourceMap: SDK.SourceMap.SourceMap|undefined):
258258
Promise<void> {
259259
let hasIgnoreListedMappings = false;
260-
if (!IgnoreListManager.instance().isUserIgnoreListedURL(
261-
script.sourceURL, {isContentScript: script.isContentScript()})) {
260+
if (!this.isUserIgnoreListedURL(script.sourceURL, {isContentScript: script.isContentScript()})) {
262261
hasIgnoreListedMappings =
263262
sourceMap?.sourceURLs().some(
264263
url => this.isUserIgnoreListedURL(url, {isKnownThirdParty: sourceMap.hasIgnoreListHint(url)})) ??

0 commit comments

Comments
 (0)