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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-snippet-checkContent.html

Issue 1609973002: DevTools: promisify ContentProvider.requestContent and all its clients. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 years, 11 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/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()

Powered by Google App Engine
This is Rietveld 408576698