Index: LayoutTests/inspector/elements/styles-1/cached-sync-computed-styles.html |
diff --git a/LayoutTests/inspector/elements/styles-1/cached-sync-computed-styles.html b/LayoutTests/inspector/elements/styles-1/cached-sync-computed-styles.html |
index bd8233c35d61d31b6842e71e11df1d91881dd347..6f702fd76d37b129f686072768d3e742e6e91e2c 100644 |
--- a/LayoutTests/inspector/elements/styles-1/cached-sync-computed-styles.html |
+++ b/LayoutTests/inspector/elements/styles-1/cached-sync-computed-styles.html |
@@ -30,7 +30,7 @@ function test() |
{ |
var callsLeft = 2; |
nodeId = node.id; |
- InspectorTest.addSniffer(InspectorBackend.connection(), "_wrapCallbackAndSendMessageObject", onBackendCall, true); |
+ InspectorTest.addSniffer(InspectorTest.connection, "_wrapCallbackAndSendMessageObject", onBackendCall, true); |
InspectorTest.cssModel.computedStylePromise(nodeId).then(styleCallback); |
InspectorTest.cssModel.computedStylePromise(nodeId).then(styleCallback); |
function styleCallback() |