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

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

Issue 1099613003: Oilpan: have xml/ objects on the heap by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: simplify XPathResult dtor Created 5 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
« no previous file with comments | « Source/core/xml/NativeXPathNSResolver.h ('k') | Source/core/xml/XMLSerializer.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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*);
« no previous file with comments | « Source/core/xml/NativeXPathNSResolver.h ('k') | Source/core/xml/XMLSerializer.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698