| Index: third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js b/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js
|
| index 6eabe872f160d94c8ddda5243faac834f364cac7..df54ceb266819f20e7d3dcc196eb3970b249c869 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js
|
| @@ -105,8 +105,7 @@ Bindings.BlackboxManager = class {
|
| * @return {boolean}
|
| */
|
| isBlackboxedUISourceCode(uiSourceCode) {
|
| - var projectType = uiSourceCode.project().type();
|
| - var isContentScript = projectType === Workspace.projectTypes.ContentScripts;
|
| + var isContentScript = Bindings.NetworkProject.isContentScriptUISourceCode(uiSourceCode);
|
| if (isContentScript && Common.moduleSetting('skipContentScripts').get())
|
| return true;
|
| var url = this._uiSourceCodeURL(uiSourceCode);
|
| @@ -183,7 +182,7 @@ Bindings.BlackboxManager = class {
|
| * @return {?string}
|
| */
|
| _uiSourceCodeURL(uiSourceCode) {
|
| - return uiSourceCode.project().type() === Workspace.projectTypes.Debugger ? null : uiSourceCode.url();
|
| + return Bindings.DefaultScriptMapping.isDebuggerUISourceCode(uiSourceCode) ? null : uiSourceCode.url();
|
| }
|
|
|
| /**
|
|
|