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

Unified Diff: LayoutTests/inspector/timeline/timeline-node-reference.html

Issue 268293003: DevTools: Get rid of WebInspector.panels (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/timeline/timeline-node-reference.html
diff --git a/LayoutTests/inspector/timeline/timeline-node-reference.html b/LayoutTests/inspector/timeline/timeline-node-reference.html
index bc573cb4d6cf043470e149712acbf92d0943976e..9efa08942bd9dfdaf5f42c88b48960885cdba043 100644
--- a/LayoutTests/inspector/timeline/timeline-node-reference.html
+++ b/LayoutTests/inspector/timeline/timeline-node-reference.html
@@ -54,7 +54,7 @@ function test()
{
// avoid using WebInspector.inspectorView.panel("elements"), as we get first event from constructor,
// and this call would cause another instance to get constructed.
- var node = WebInspector.panels.elements.selectedDOMNode();
+ var node = WebInspector.inspectorView.panel("elements").selectedDOMNode();
// We may first get an old selected node while switching to the Elements panel.
if (node.nodeName() === "BODY")
return;

Powered by Google App Engine
This is Rietveld 408576698