Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / SVGStyleElement.cpp
index f0815b4..94114dd 100644 (file)
@@ -38,7 +38,9 @@ inline SVGStyleElement::SVGStyleElement(Document& document, bool createdByParser
 
 SVGStyleElement::~SVGStyleElement()
 {
+#if !ENABLE(OILPAN)
     StyleElement::clearDocumentData(document(), this);
+#endif
 }
 
 PassRefPtr<SVGStyleElement> SVGStyleElement::create(Document& document, bool createdByParser)
@@ -148,4 +150,10 @@ void SVGStyleElement::childrenChanged(bool changedByParser, Node* beforeChange,
     StyleElement::childrenChanged(this);
 }
 
+void SVGStyleElement::trace(Visitor* visitor)
+{
+    StyleElement::trace(visitor);
+    SVGElement::trace(visitor);
+}
+
 }