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

Unified Diff: Source/core/html/HTMLScriptElement.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/html/HTMLProgressElement.cpp ('k') | Source/core/html/HTMLSelectElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLScriptElement.cpp
diff --git a/Source/core/html/HTMLScriptElement.cpp b/Source/core/html/HTMLScriptElement.cpp
index 40f85e5a2d17770de63b65b5bcd615f8b28a50c8..c1d951c997ad28d4c1bc68a619b11a3c025eb526 100644
--- a/Source/core/html/HTMLScriptElement.cpp
+++ b/Source/core/html/HTMLScriptElement.cpp
@@ -176,6 +176,9 @@ PassRefPtr<Element> HTMLScriptElement::cloneElementWithoutAttributesAndChildren(
return adoptRef(new HTMLScriptElement(tagQName(), document(), false, alreadyStarted()));
}
+// FIXME(oilpan): There is multiple inheritance going on here. This is a ScriptElement as
+// well as an HTMLElement. The ScriptElement has a Element member that we should deal with
+// as well. We need to treat ScriptElement in the same way that we did for TreeScope.
void HTMLScriptElement::acceptHeapVisitor(Visitor* visitor) const
{
HTMLElement::acceptHeapVisitor(visitor);
« no previous file with comments | « Source/core/html/HTMLProgressElement.cpp ('k') | Source/core/html/HTMLSelectElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698