Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(633)

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/formatter-js.html

Issue 2859073002: Revert of DevTools: support resolving a UILocation to multiple raw script locations (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/sources/formatter-js.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/formatter-js.html b/third_party/WebKit/LayoutTests/inspector/sources/formatter-js.html
index d80d1f3dc541e9de9738be1dde50ac6a6ade330b..8f22c08225069d98dddf120622268060dbebf79c 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/formatter-js.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/formatter-js.html
@@ -18,7 +18,7 @@
var positions = [];
for (var offset = originalContent.indexOf("{"); offset >= 0; offset = originalContent.indexOf("{", offset + 1))
positions.push(text.positionFromOffset(offset));
- var script = Bindings.debuggerWorkspaceBinding.uiLocationToRawLocations(uiSourceCode, 0, 0)[0].script();
+ var script = Bindings.debuggerWorkspaceBinding.uiLocationToRawLocation(uiSourceCode, 0, 0).script();
InspectorTest.addResult("Location mapping with formatted source:");
dumpLocations(positions);

Powered by Google App Engine
This is Rietveld 408576698