| 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)
|
|
|