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

Unified Diff: LayoutTests/inspector/elements/styles-2/import-pseudoclass-crash.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/import-pseudoclass-crash.html
diff --git a/LayoutTests/inspector/elements/styles-2/import-pseudoclass-crash.html b/LayoutTests/inspector/elements/styles-2/import-pseudoclass-crash.html
index 660ebe7d545f8da0e65ed521d7214873719dfa4f..703c7d5b701ea7bb2da05c8c2828c3d2edb0684a 100644
--- a/LayoutTests/inspector/elements/styles-2/import-pseudoclass-crash.html
+++ b/LayoutTests/inspector/elements/styles-2/import-pseudoclass-crash.html
@@ -11,7 +11,7 @@ function test()
function nodeFound(node)
{
- InspectorTest.cssModel.getMatchedStylesAsync(node.id, true, false, matchedStylesCallback);
+ InspectorTest.cssModel.matchedStylesPromise(node.id, true, false).then(matchedStylesCallback);
}
var styleSheetId;

Powered by Google App Engine
This is Rietveld 408576698