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 1f216adea739281d882a3b344161169ab5d931d2..b0006e5bdce566a52200cbc14ef2e847d5a60c63 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 @@ |
return InspectorTest.uiSourceCodes[rawLocation.scriptId].uiLocation(rawLocation.lineNumber, 0); |
}, |
- uiLocationToRawLocations: function(uiSourceCode, lineNumber) |
+ uiLocationToRawLocation: function(uiSourceCode, lineNumber) |
{ |
if (!InspectorTest.uiSourceCodes[uiSourceCode.url()]) |
- return []; |
- return [new SDK.DebuggerModel.Location(target.debuggerModel, uiSourceCode.url(), lineNumber, 0)]; |
+ return null; |
+ return new SDK.DebuggerModel.Location(target.debuggerModel, uiSourceCode.url(), lineNumber, 0); |
}, |
isIdentity: function() |