Index: LayoutTests/http/tests/inspector/layers-test.js |
diff --git a/LayoutTests/http/tests/inspector/layers-test.js b/LayoutTests/http/tests/inspector/layers-test.js |
index ca8bdad884ed1609197511b8cf9e091719a74aca..1eec2cc49f36c5c9e4deef2e4a9855468a559a0b 100644 |
--- a/LayoutTests/http/tests/inspector/layers-test.js |
+++ b/LayoutTests/http/tests/inspector/layers-test.js |
@@ -7,7 +7,7 @@ function initialize_LayerTreeTests() |
InspectorTest.labelForLayer = function(layer) |
{ |
var node = WebInspector.domAgent.nodeForId(layer.nodeIdForSelfOrAncestor()); |
- var label = node.appropriateSelectorFor(false); |
+ var label = WebInspector.DOMPresentationUtils.appropriateSelectorFor(node, false); |
var height = layer.height(); |
var width = layer.width(); |
if (height <= 200 && width <= 200) |