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

Unified Diff: Source/core/svg/SVGStyleElement.cpp

Issue 235113002: Oilpan: Remove guardRef and guardDeref from TreeScope. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase again. Created 6 years, 8 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
Index: Source/core/svg/SVGStyleElement.cpp
diff --git a/Source/core/svg/SVGStyleElement.cpp b/Source/core/svg/SVGStyleElement.cpp
index f0815b4daebb845b34eabee9ca4cf663e7739bf2..12c5a20dd93d2415aa562844da6d71207c668c86 100644
--- a/Source/core/svg/SVGStyleElement.cpp
+++ b/Source/core/svg/SVGStyleElement.cpp
@@ -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)

Powered by Google App Engine
This is Rietveld 408576698