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

Unified Diff: Source/core/xml/XSLTProcessor.h

Issue 166903010: Oilpan: Move core/xml/ to oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/xml/XSLTProcessor.h
diff --git a/Source/core/xml/XSLTProcessor.h b/Source/core/xml/XSLTProcessor.h
index 23272c2247fefcf5ee77e72f89846af1ee3545e9..7d6eaee5b0fbcf7eba3f511ea1d51f7a8e89a13d 100644
--- a/Source/core/xml/XSLTProcessor.h
+++ b/Source/core/xml/XSLTProcessor.h
@@ -39,12 +39,13 @@ class Frame;
class Document;
class DocumentFragment;
-class XSLTProcessor : public RefCounted<XSLTProcessor>, public ScriptWrappable {
+class XSLTProcessor : public RefCountedWillBeGarbageCollectedFinalized<XSLTProcessor>, public ScriptWrappable {
+ DECLARE_GC_INFO;
public:
- static PassRefPtr<XSLTProcessor> create()
+ static PassRefPtrWillBeRawPtr<XSLTProcessor> create()
{
ASSERT(RuntimeEnabledFeatures::xsltEnabled());
- return adoptRef(new XSLTProcessor);
+ return adoptRefWillBeNoop(new XSLTProcessor);
}
~XSLTProcessor();
@@ -76,6 +77,8 @@ public:
typedef HashMap<String, String> ParameterMap;
+ void trace(Visitor*) { }
+
private:
XSLTProcessor()
{

Powered by Google App Engine
This is Rietveld 408576698