Index: third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js |
index 02d4a8acad7660f28af9a08dcd6711b8a0ac2fe6..dea9b971ca019ec3f17ab1ca9c11711347675022 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js |
@@ -282,9 +282,9 @@ InspectorTest.selectNodeAndWaitForStylesWithComputed = function(idValue, callbac |
callback = InspectorTest.safeWrap(callback); |
InspectorTest.selectNodeAndWaitForStyles(idValue, onSidebarRendered); |
- function onSidebarRendered() |
+ function onSidebarRendered(node) |
{ |
- InspectorTest.computedStyleWidget().doUpdate().then(callback); |
+ InspectorTest.computedStyleWidget().doUpdate().then(callback.bind(null, node)); |
} |
} |