| 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 a81fa0c4773f009fa4b7872fa751ac3e4cd83d8b..09cf0a8058b8f3b613ca0164b9fb8b043216be28 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| @@ -645,16 +645,14 @@
|
| if (!executionContext)
|
| return;
|
| // Always use 0 column.
|
| - var rawLocations =
|
| - Bindings.debuggerWorkspaceBinding.uiLocationToRawLocations(uiLocation.uiSourceCode, uiLocation.lineNumber, 0);
|
| - // TODO(kozyatinskiy): make it possible to continue to multiple locations (whichever is hit first).
|
| - var location = rawLocations.find(location => location.debuggerModel === executionContext.debuggerModel);
|
| - if (!location)
|
| + var rawLocation =
|
| + Bindings.debuggerWorkspaceBinding.uiLocationToRawLocation(uiLocation.uiSourceCode, uiLocation.lineNumber, 0);
|
| + if (!rawLocation || rawLocation.debuggerModel !== executionContext.debuggerModel)
|
| return;
|
| if (!this._prepareToResume())
|
| return;
|
|
|
| - location.continueToLocation();
|
| + rawLocation.continueToLocation();
|
| }
|
|
|
| _toggleBreakpointsActive() {
|
|
|