Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/breakpoint-manager.js |
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/breakpoint-manager.js b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/breakpoint-manager.js |
index b0006e5bdce566a52200cbc14ef2e847d5a60c63..1f216adea739281d882a3b344161169ab5d931d2 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/breakpoint-manager.js |
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/breakpoint-manager.js |
@@ -35,11 +35,11 @@ InspectorTest.initializeDefaultMappingOnTarget = function(target) |
return InspectorTest.uiSourceCodes[rawLocation.scriptId].uiLocation(rawLocation.lineNumber, 0); |
}, |
- uiLocationToRawLocation: function(uiSourceCode, lineNumber) |
+ uiLocationToRawLocations: function(uiSourceCode, lineNumber) |
{ |
if (!InspectorTest.uiSourceCodes[uiSourceCode.url()]) |
- return null; |
- return new SDK.DebuggerModel.Location(target.debuggerModel, uiSourceCode.url(), lineNumber, 0); |
+ return []; |
+ return [new SDK.DebuggerModel.Location(target.debuggerModel, uiSourceCode.url(), lineNumber, 0)]; |
}, |
isIdentity: function() |