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

Unified Diff: Source/core/dom/ShadowRoot.cpp

Issue 20123003: [oilpan] The Node hierarchy should have correct accept method chains (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 5 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/dom/ShadowRoot.h ('k') | Source/core/dom/StyledElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ShadowRoot.cpp
diff --git a/Source/core/dom/ShadowRoot.cpp b/Source/core/dom/ShadowRoot.cpp
index fe7d3ff09b174147ee7973cc677f241febd5026a..f8f91c97dea6e8ada9f3c3c27e012f5caad1fc5a 100644
--- a/Source/core/dom/ShadowRoot.cpp
+++ b/Source/core/dom/ShadowRoot.cpp
@@ -88,12 +88,6 @@ void ShadowRoot::visitWith(Visitor* visitor) const
visitor->visit(this, &AcceptTrait<Node>::accept);
}
-void ShadowRoot::acceptHeapVisitor(Visitor* visitor) const
-{
- DocumentFragment::acceptHeapVisitor(visitor);
- TreeScope::accept(visitor);
-}
-
PassRefPtr<Node> ShadowRoot::cloneNode(bool, ExceptionCode& ec)
{
ec = DATA_CLONE_ERR;
@@ -259,4 +253,10 @@ void ShadowRoot::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
info.addMember(m_scopeDistribution, "scopeDistribution");
}
+void ShadowRoot::acceptHeapVisitor(Visitor* visitor) const
+{
+ DocumentFragment::acceptHeapVisitor(visitor);
+ TreeScope::accept(visitor);
+}
+
}
« no previous file with comments | « Source/core/dom/ShadowRoot.h ('k') | Source/core/dom/StyledElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698