| Index: Source/WebCore/dom/Element.cpp
|
| ===================================================================
|
| --- Source/WebCore/dom/Element.cpp (revision 88781)
|
| +++ Source/WebCore/dom/Element.cpp (working copy)
|
| @@ -1202,13 +1202,11 @@
|
|
|
| RefPtr<ShadowRoot> newRoot = ShadowRoot::create(document());
|
| ensureRareData()->m_shadowRoot = newRoot.get();
|
| - InspectorInstrumentation::willInsertDOMNode(document(), newRoot.get(), this);
|
| newRoot->setShadowHost(this);
|
| if (inDocument())
|
| newRoot->insertedIntoDocument();
|
| if (attached())
|
| newRoot->lazyAttach();
|
| - InspectorInstrumentation::didInsertDOMNode(document(), newRoot.get());
|
| return newRoot.get();
|
| }
|
|
|
| @@ -1219,7 +1217,6 @@
|
|
|
| ElementRareData* data = rareData();
|
| if (RefPtr<Node> oldRoot = data->m_shadowRoot) {
|
| - InspectorInstrumentation::willRemoveDOMNode(document(), oldRoot.get());
|
| data->m_shadowRoot = 0;
|
| document()->removeFocusedNodeOfSubtree(oldRoot.get());
|
|
|
|
|