Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / elements / edit-trimmed-attribute-value.html
index f9e9d47..632c8bb 100644 (file)
@@ -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);