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

Unified Diff: Source/WebCore/dom/Element.cpp

Issue 7147011: Merge 88331 - 2011-06-07 Andrey Kosyakov <caseq@chromium.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 6 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 | « LayoutTests/platform/win/Skipped ('k') | Source/WebCore/inspector/Inspector.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « LayoutTests/platform/win/Skipped ('k') | Source/WebCore/inspector/Inspector.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698