| Index: LayoutTests/http/tests/inspector/elements-test.js
|
| diff --git a/LayoutTests/http/tests/inspector/elements-test.js b/LayoutTests/http/tests/inspector/elements-test.js
|
| index a3f5fde08c2240e828fd39b920f63dc2b8bc421f..876c22e0ce0ed48e5493a54ed99d8dba1a5f2b49 100644
|
| --- a/LayoutTests/http/tests/inspector/elements-test.js
|
| +++ b/LayoutTests/http/tests/inspector/elements-test.js
|
| @@ -73,12 +73,17 @@ InspectorTest.expandedNodeWithId = function(idValue)
|
| return result;
|
| }
|
|
|
| +InspectorTest.selectNode = function(node)
|
| +{
|
| + WebInspector.Revealer.reveal(node);
|
| +}
|
| +
|
| InspectorTest.selectNodeWithId = function(idValue, callback)
|
| {
|
| callback = InspectorTest.safeWrap(callback);
|
| function onNodeFound(node)
|
| {
|
| - WebInspector.Revealer.reveal(node);
|
| + InspectorTest.selectNode(node);
|
| callback(node);
|
| }
|
| InspectorTest.nodeWithId(idValue, onNodeFound);
|
|
|