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

Unified Diff: Source/devtools/front_end/elements/ElementsTreeOutline.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
Index: Source/devtools/front_end/elements/ElementsTreeOutline.js
diff --git a/Source/devtools/front_end/elements/ElementsTreeOutline.js b/Source/devtools/front_end/elements/ElementsTreeOutline.js
index 5c1c3c92d4bf7c7182a579c6877c8001096c9bc5..41a6b7a527a8107a0b80e6ff49df88d439526f91 100644
--- a/Source/devtools/front_end/elements/ElementsTreeOutline.js
+++ b/Source/devtools/front_end/elements/ElementsTreeOutline.js
@@ -311,7 +311,7 @@ WebInspector.ElementsTreeOutline.prototype = {
*/
performCopyOrCut: function(isCut, node)
{
- if (isCut && (node.isShadowRoot() || node.ancestorUserAgentShadowRoot()))
+ if (isCut && (node.isShadowRoot() || node.ancestorClosedShadowRoot()))
return;
node.copyNode();
@@ -324,7 +324,7 @@ WebInspector.ElementsTreeOutline.prototype = {
*/
canPaste: function(targetNode)
{
- if (targetNode.isShadowRoot() || targetNode.ancestorUserAgentShadowRoot())
+ if (targetNode.isShadowRoot() || targetNode.ancestorClosedShadowRoot())
return false;
if (!this._clipboardNodeData)
« no previous file with comments | « Source/devtools/front_end/elements/ElementsTreeElement.js ('k') | Source/devtools/front_end/sdk/DOMModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698