Index: LayoutTests/http/tests/inspector/elements-test.js |
diff --git a/LayoutTests/http/tests/inspector/elements-test.js b/LayoutTests/http/tests/inspector/elements-test.js |
index 9ede4675335ea90c6b2b4067a0cb5664c4a25552..d5b643e5167db096cb76680660fb5e7a7736d169 100644 |
--- a/LayoutTests/http/tests/inspector/elements-test.js |
+++ b/LayoutTests/http/tests/inspector/elements-test.js |
@@ -267,7 +267,7 @@ InspectorTest.selectNodeAndWaitForStylesWithComputed = function(idValue, callbac |
function onSidebarRendered() |
{ |
- InspectorTest.computedStyleWidget().doUpdate(callback); |
+ InspectorTest.computedStyleWidget().doUpdate().then(callback); |
} |
} |