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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sass/test-mapping-bad.html

Issue 1609973002: DevTools: promisify ContentProvider.requestContent and all its clients. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaseline 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-bad.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sass/test-mapping-bad.html b/third_party/WebKit/LayoutTests/inspector/sass/test-mapping-bad.html
index 46c8e347d0c5537ee03a89d2cda682d5014e65ac..a7fc2ffd96c35437d94121b88e255559f00e24c3 100644
--- a/third_party/WebKit/LayoutTests/inspector/sass/test-mapping-bad.html
+++ b/third_party/WebKit/LayoutTests/inspector/sass/test-mapping-bad.html
@@ -21,7 +21,7 @@ function test()
function onCSSLoaded(uiSourceCode)
{
- uiSourceCode.requestContentPromise()
+ uiSourceCode.requestContent()
.then(text => InspectorTest.parseCSS(uiSourceCode.url(), text))
.then(ast => cssAST = ast)
.then(maybeCreateMapping);
@@ -29,7 +29,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