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

Unified Diff: LayoutTests/inspector/elements/styles-2/property-ui-location.html

Issue 1204393002: DevTools: [CSS] promisify CSSStyleModel fetching methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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: LayoutTests/inspector/elements/styles-2/property-ui-location.html
diff --git a/LayoutTests/inspector/elements/styles-2/property-ui-location.html b/LayoutTests/inspector/elements/styles-2/property-ui-location.html
index dc709f0902ebebd5b8bea9c27759db316b666bba..aded4b675b5cc1b81fdcf19ae12f2f97168e2430 100644
--- a/LayoutTests/inspector/elements/styles-2/property-ui-location.html
+++ b/LayoutTests/inspector/elements/styles-2/property-ui-location.html
@@ -27,7 +27,7 @@ function test()
function onNodeFound(node)
{
- InspectorTest.cssModel.getMatchedStylesAsync(node.id, true, false, onMatchedStyles);
+ InspectorTest.cssModel.matchedStylesPromise(node.id, true, false).then(onMatchedStyles);
}
function onMatchedStyles(styles)

Powered by Google App Engine
This is Rietveld 408576698