| Index: third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| index b373530ba02943e58f2f9cc12dd555a28fd168cb..97e65501799ff1df114640446743a50f726c7ed9 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| @@ -511,7 +511,6 @@ Sources.SourcesPanel = class extends UI.Panel {
|
| delete this._switchToPausedTargetTimeout;
|
| if (this._paused)
|
| return;
|
| - var target = UI.context.flavor(SDK.Target);
|
| if (debuggerModel.isPaused())
|
| return;
|
| var debuggerModels = SDK.DebuggerModel.instances();
|
| @@ -855,7 +854,6 @@ Sources.SourcesPanel = class extends UI.Panel {
|
| return;
|
| var uiLocation = /** @type {!Workspace.UILocation} */ (object);
|
| var uiSourceCode = uiLocation.uiSourceCode;
|
| - var projectType = uiSourceCode.project().type();
|
|
|
| var contentType = uiSourceCode.contentType();
|
| if (contentType.hasScripts()) {
|
|
|