| Index: third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js
|
| index 0e52b82ad483e1ed48037b54e28e8dc4eb42511c..a2bbc353f778141ff6c6a02f29fc358a7d904dc6 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js
|
| @@ -243,7 +243,7 @@ Sources.SnippetsNavigatorView = class extends Sources.NavigatorView {
|
| */
|
| _handleEvaluateSnippet(uiSourceCode) {
|
| var executionContext = UI.context.flavor(SDK.ExecutionContext);
|
| - if (uiSourceCode.project().type() !== Workspace.projectTypes.Snippets || !executionContext)
|
| + if (!executionContext)
|
| return;
|
| Snippets.scriptSnippetModel.evaluateScriptSnippet(executionContext, uiSourceCode);
|
| }
|
|
|