Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(866)

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js

Issue 2536273003: [DevTools] Remove Workspace.projectTypes enum part1. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
index 12838fd3346075c9ed6fa24781abaf44bb2b8731..bc06a627073c012d4814bac2c2a6d107ab82cf88 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
@@ -242,11 +242,11 @@ Sources.CallStackSidebarPane = class extends UI.SimpleView {
var binding = Persistence.persistence.binding(uiSourceCode);
if (binding)
uiSourceCode = binding.network;
- if (uiSourceCode.project().type() === Workspace.projectTypes.FileSystem)
+ if (Persistence.FileSystemWorkspaceBinding.isFileSystemUISourceCode(uiSourceCode))
return;
var canBlackbox = Bindings.blackboxManager.canBlackboxUISourceCode(uiSourceCode);
var isBlackboxed = Bindings.blackboxManager.isBlackboxedUISourceCode(uiSourceCode);
- var isContentScript = uiSourceCode.project().type() === Workspace.projectTypes.ContentScripts;
+ var isContentScript = Bindings.NetworkProject.isContentScriptUISourceCode(uiSourceCode);
var manager = Bindings.blackboxManager;
if (canBlackbox) {

Powered by Google App Engine
This is Rietveld 408576698