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/elements/styles-2/get-set-stylesheet-text.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/elements/styles-2/get-set-stylesheet-text.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles-2/get-set-stylesheet-text.html b/third_party/WebKit/LayoutTests/inspector/elements/styles-2/get-set-stylesheet-text.html
index f1900c80d6a6548ad608a04d3c90c7913fe857a5..2f6ea3da4efa2e2fd34721a1584912dee2bce9d0 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/styles-2/get-set-stylesheet-text.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/styles-2/get-set-stylesheet-text.html
@@ -29,7 +29,7 @@ function test()
styleSheetHeader = styleSheetHeaders[i];
if (styleSheetHeader.sourceURL.indexOf("get-set-stylesheet-text.css") >= 0) {
foundStyleSheetHeader = styleSheetHeader;
- foundStyleSheetHeader.requestContent(callback);
+ foundStyleSheetHeader.requestContent().then(callback);
}
if (!foundStyleSheetHeader)
InspectorTest.cssModel.addEventListener(WebInspector.CSSStyleModel.Events.StyleSheetAdded, styleSheetAdded);

Powered by Google App Engine
This is Rietveld 408576698