Chromium Code Reviews| 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 09cf0a8058b8f3b613ca0164b9fb8b043216be28..5536fa264f5cd1b1b9fd1bbe152c8e821e8cb046 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js |
| @@ -645,14 +645,14 @@ Sources.SourcesPanel = class extends UI.Panel { |
| if (!executionContext) |
| return; |
| // Always use 0 column. |
| - var rawLocation = |
| - Bindings.debuggerWorkspaceBinding.uiLocationToRawLocation(uiLocation.uiSourceCode, uiLocation.lineNumber, 0); |
| - if (!rawLocation || rawLocation.debuggerModel !== executionContext.debuggerModel) |
| + var rawLocations = |
| + Bindings.debuggerWorkspaceBinding.uiLocationToRawLocations(uiLocation.uiSourceCode, uiLocation.lineNumber, 0); |
| + if (!rawLocations.length || rawLocations[0].debuggerModel !== executionContext.debuggerModel) |
|
dgozman
2017/05/02 19:47:41
TODO(kozyatinskiy): make it possible to continue t
|
| return; |
| if (!this._prepareToResume()) |
| return; |
| - rawLocation.continueToLocation(); |
| + rawLocations[0].continueToLocation(); |
| } |
| _toggleBreakpointsActive() { |