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

Unified Diff: Source/core/svg/SVGURIReference.h

Issue 1025883002: Oilpan: revert SVG GC mixin constructor workaround. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
« no previous file with comments | « Source/core/svg/SVGTextPathElement.cpp ('k') | Source/core/svg/SVGURIReference.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGURIReference.h
diff --git a/Source/core/svg/SVGURIReference.h b/Source/core/svg/SVGURIReference.h
index 210f51768c7b4c1f88d27944cb34502e8c0bbe6c..af3f75913f8de9d900042d9d028d96da8fc9774b 100644
--- a/Source/core/svg/SVGURIReference.h
+++ b/Source/core/svg/SVGURIReference.h
@@ -58,20 +58,7 @@ public:
DECLARE_VIRTUAL_TRACE();
protected:
- SVGURIReference();
-
- // FIXME: Oilpan: the construction of this mixin requires heap allocation,
- // which cannot be safely done with Oilpan until the object that include
- // this mixin have had its vptr initialized -- so as to be able to
- // accurately trace the entire object should a GC strike while constructing
- // the mixin.
- //
- // Try to come up with a more natural alternative and solution that doesn't
- // require hoisting the constructor code for mixins into a separate method
- // like initialize(). It makes construction of these heap-allocation mixins
- // safe in the meantime, however.
- //
- void initialize(SVGElement*);
+ explicit SVGURIReference(SVGElement*);
private:
RefPtrWillBeMember<SVGAnimatedString> m_href;
« no previous file with comments | « Source/core/svg/SVGTextPathElement.cpp ('k') | Source/core/svg/SVGURIReference.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698