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

Unified Diff: Source/devtools/front_end/elements/ElementsPanel.js

Issue 935283002: Rename {Author,UserAgent}ShadowRoot to {Open,Closed}ShadowRoot. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix inspector tests Created 5 years, 10 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
« no previous file with comments | « Source/core/testing/Internals.idl ('k') | Source/devtools/front_end/elements/ElementsTreeElement.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/elements/ElementsPanel.js
diff --git a/Source/devtools/front_end/elements/ElementsPanel.js b/Source/devtools/front_end/elements/ElementsPanel.js
index 8d74cdcd3813e078779880ec3b74585ace2c1aa0..61f47047440509ae45c36dda13ebed058a7b50fa 100644
--- a/Source/devtools/front_end/elements/ElementsPanel.js
+++ b/Source/devtools/front_end/elements/ElementsPanel.js
@@ -759,8 +759,8 @@ WebInspector.ElementsPanel.prototype = {
*/
_leaveUserAgentShadowDOM: function(node)
{
- var userAgentShadowRoot = node.ancestorUserAgentShadowRoot();
- return userAgentShadowRoot ? /** @type {!WebInspector.DOMNode} */ (userAgentShadowRoot.parentNode) : node;
+ var closedShadowRoot = node.ancestorClosedShadowRoot();
+ return closedShadowRoot ? /** @type {!WebInspector.DOMNode} */ (closedShadowRoot.parentNode) : node;
},
/**
« no previous file with comments | « Source/core/testing/Internals.idl ('k') | Source/devtools/front_end/elements/ElementsTreeElement.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698