Index: LayoutTests/inspector/elements/edit-trimmed-attribute-value.html |
diff --git a/LayoutTests/inspector/elements/edit-trimmed-attribute-value.html b/LayoutTests/inspector/elements/edit-trimmed-attribute-value.html |
index f9e9d472c176bd942d18b1f448bf593ceb670a08..632c8bb30880ef89c6eff8471950388793d58510 100644 |
--- a/LayoutTests/inspector/elements/edit-trimmed-attribute-value.html |
+++ b/LayoutTests/inspector/elements/edit-trimmed-attribute-value.html |
@@ -11,7 +11,7 @@ function test() |
function execute() |
{ |
- var treeElement = WebInspector.panels.elements.treeOutline.findTreeElement(InspectorTest.expandedNodeWithId("inspected")); |
+ var treeElement = InspectorTest.firstElementsTreeOutline().findTreeElement(InspectorTest.expandedNodeWithId("inspected")); |
var textElement = treeElement.listItemElement.getElementsByClassName("webkit-html-attribute")[0]; |
InspectorTest.addResult("Original textContent"); |
InspectorTest.addResult(treeElement.title.textContent); |