Chromium Code Reviews| 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 |
|
Mads Ager (chromium)
2013/07/25 13:35:12
Yup, thanks for adding the comment here. :)
|
| +// 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); |