Index: Source/core/xml/XMLSerializer.h |
diff --git a/Source/core/xml/XMLSerializer.h b/Source/core/xml/XMLSerializer.h |
index 404d4f40af205788f70dea79f14dbf6d7ebaeaa5..81354a4f339ced9ba0415cdfc38c6f5742f14bbd 100644 |
--- a/Source/core/xml/XMLSerializer.h |
+++ b/Source/core/xml/XMLSerializer.h |
@@ -22,20 +22,17 @@ |
#include "bindings/core/v8/ScriptWrappable.h" |
#include "platform/heap/Handle.h" |
-#include "wtf/Forward.h" |
-#include "wtf/PassRefPtr.h" |
-#include "wtf/RefCounted.h" |
namespace blink { |
class Node; |
-class XMLSerializer final : public RefCountedWillBeGarbageCollected<XMLSerializer>, public ScriptWrappable { |
+class XMLSerializer final : public GarbageCollected<XMLSerializer>, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- static PassRefPtrWillBeRawPtr<XMLSerializer> create() |
+ static XMLSerializer* create() |
{ |
- return adoptRefWillBeNoop(new XMLSerializer); |
+ return new XMLSerializer; |
} |
String serializeToString(Node*); |