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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sass/test-mapping-good.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/sass/test-mapping-good.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sass/test-mapping-good.html b/third_party/WebKit/LayoutTests/inspector/sass/test-mapping-good.html
index fe9d72005ab85a1b188dfed8a77f55c0de326613..1b3079d47f26b7dfe2ee0b0a6a6ccd0c2097738a 100644
--- a/third_party/WebKit/LayoutTests/inspector/sass/test-mapping-good.html
+++ b/third_party/WebKit/LayoutTests/inspector/sass/test-mapping-good.html
@@ -22,7 +22,7 @@ function test()
function onCSSLoaded(uiSourceCode)
{
- uiSourceCode.requestContentPromise()
+ uiSourceCode.requestContent()
.then(text => InspectorTest.parseCSS(uiSourceCode.url(), text))
.then(ast => cssAST = ast)
.then(maybeCreateMapping);
@@ -30,7 +30,7 @@ function test()
function onSCSSLoaded(uiSourceCode)
{
- uiSourceCode.requestContentPromise()
+ uiSourceCode.requestContent()
.then(text => InspectorTest.parseSCSS(uiSourceCode.url(), text))
.then(ast => sassModels.set(ast.document.url, ast))
.then(maybeCreateMapping);

Powered by Google App Engine
This is Rietveld 408576698