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

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

Issue 235113002: Oilpan: Remove guardRef and guardDeref from TreeScope. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/SVGUseElement.cpp
diff --git a/Source/core/svg/SVGUseElement.cpp b/Source/core/svg/SVGUseElement.cpp
index 5e6e88cadb467d5e2274fe9946b7dacc72d9bde7..c36b3658ef3b07e7eb81494409dd8d16c436b9a4 100644
--- a/Source/core/svg/SVGUseElement.cpp
+++ b/Source/core/svg/SVGUseElement.cpp
@@ -83,8 +83,9 @@ PassRefPtr<SVGUseElement> SVGUseElement::create(Document& document, bool wasInse
SVGUseElement::~SVGUseElement()
{
setDocumentResource(0);
-
+#if !ENABLE(OILPAN)
clearResourceReferences();
+#endif
}
SVGElementInstance* SVGUseElement::instanceRoot()

Powered by Google App Engine
This is Rietveld 408576698