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

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: Only perform weak processing of the event handler registry if the document is active. 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 872c04991a2fe425ceccd93628d2e2d5fb6493cc..ecdea38ef69b5fd4692b2d62d0236f271d2b4403 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();
haraken 2014/04/25 14:30:32 I think we need to run line 357 - 366 in oilpan as
Mads Ager (chromium) 2014/04/28 09:45:21 We shouldn't. This is another case where the curre
+#endif
}
SVGElementInstance* SVGUseElement::instanceRoot()

Powered by Google App Engine
This is Rietveld 408576698