Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-snippet-checkContent.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-snippet-checkContent.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-snippet-checkContent.html |
index ad9b6985462159c5c8e2dbcfdcc97323fccd8542..10d73e6558b5ca29951dba6445fbda9506444148 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-snippet-checkContent.html |
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-snippet-checkContent.html |
@@ -20,7 +20,7 @@ function test() |
function onCreated(usc) |
{ |
uiSourceCode = usc; |
- uiSourceCode.requestContent(onContentAvailable); |
+ uiSourceCode.requestContent().then(onContentAvailable); |
} |
function onContentAvailable() |