Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-with-same-source-url.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-with-same-source-url.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-with-same-source-url.html |
index 92ad07e7d4e838efae76ccb69a175f1c9cdb8041..cd073df53fd801504e7d10a2c0714f8878ef2ec6 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-with-same-source-url.html |
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-with-same-source-url.html |
@@ -25,7 +25,7 @@ function test() |
InspectorTest.addResult("Added: " + event.data.url().replace(/VM[\d]+/, "VMXX") + " to " + event.data.project().type()); |
if (event.data.project().type() !== "network") |
return; |
- event.data.requestContent(function(it, content) { |
+ event.data.requestContent().then(function(it, content) { |
InspectorTest.addResult("Content: " + content); |
if (it) |
InspectorTest.completeTest(); |