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

Unified Diff: LayoutTests/inspector/elements/highlight-node.html

Issue 257873002: DevTools: do not use internals for highlight testing, use protocol instead. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 months 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/inspector/elements/highlight-node.html
diff --git a/LayoutTests/inspector/elements/highlight-node.html b/LayoutTests/inspector/elements/highlight-node.html
index 4b75e5c31d14bd2a65a252cc2b8cfa9fe2259ec2..faf299d72b19c5e303083158cfc6634696cfec55 100644
--- a/LayoutTests/inspector/elements/highlight-node.html
+++ b/LayoutTests/inspector/elements/highlight-node.html
@@ -34,7 +34,7 @@ function test()
{
function nodeSelected(node)
{
- RuntimeAgent.evaluate("dumpInspectorHighlightRects()", InspectorTest.completeTest);
+ InspectorTest.dumpInspectorHighlight(node, InspectorTest.completeTest.bind(InspectorTest));
}
InspectorTest.selectNodeWithId("inspectedElement", nodeSelected);
« no previous file with comments | « LayoutTests/http/tests/inspector/elements-test.js ('k') | LayoutTests/inspector/elements/highlight-node-scaled.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698