| 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 9bd0b4e021b8edd6eb5d70d3eda5befffd00d35d..214762e6a0d4033ce89d766522f847920d0c885d 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| @@ -843,7 +843,7 @@ Sources.SourcesPanel = class extends UI.Panel {
|
| * @param {!Object} target
|
| */
|
| _appendUISourceCodeFrameItems(event, contextMenu, target) {
|
| - if (!(target instanceof Sources.UISourceCodeFrame))
|
| + if (!(target instanceof SourceFrame.UISourceCodeFrame))
|
| return;
|
| contextMenu.appendAction('debugger.evaluate-selection');
|
| }
|
| @@ -1262,7 +1262,7 @@ Sources.SourcesPanel.DebuggingActionDelegate = class {
|
| panel._toggleBreakpointsActive();
|
| return true;
|
| case 'debugger.evaluate-selection':
|
| - var frame = UI.context.flavor(Sources.UISourceCodeFrame);
|
| + var frame = UI.context.flavor(SourceFrame.UISourceCodeFrame);
|
| if (frame) {
|
| var text = frame.textEditor.text(frame.textEditor.selection());
|
| var executionContext = UI.context.flavor(SDK.ExecutionContext);
|
|
|