Index: LayoutTests/inspector/elements/styles/styles-update-from-js.html |
diff --git a/LayoutTests/inspector/elements/styles/styles-update-from-js.html b/LayoutTests/inspector/elements/styles/styles-update-from-js.html |
index b2be56d4713ef419d9b312167dbfb133ef1d19dc..8ae21d65d49f52a306e49316ec61bb2e111e2a5c 100644 |
--- a/LayoutTests/inspector/elements/styles/styles-update-from-js.html |
+++ b/LayoutTests/inspector/elements/styles/styles-update-from-js.html |
@@ -113,13 +113,13 @@ function test() |
function findNodeTreeElement(id) |
{ |
- WebInspector.panels.elements.treeOutline._updateModifiedNodes(); |
+ InspectorTest.firstElementsTreeOutline()._updateModifiedNodes(); |
var expandedNode = InspectorTest.expandedNodeWithId(id); |
if (!expandedNode) { |
InspectorTest.addResult("'" + id + "' node not found"); |
InspectorTest.completeTest(); |
} |
- return WebInspector.panels.elements.treeOutline.findTreeElement(expandedNode); |
+ return InspectorTest.firstElementsTreeOutline().findTreeElement(expandedNode); |
} |
} |
</script> |