Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: LayoutTests/http/tests/inspector/layers-test.js

Issue 83123002: DevTools: Move DOMNode.appropriateSelectorFor() into DOMPresentationUtil. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)
« no previous file with comments | « LayoutTests/http/tests/inspector/inspect-element.html ('k') | LayoutTests/inspector/elements/move-node.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698