Index: Source/modules/filesystem/Metadata.h |
diff --git a/Source/modules/filesystem/Metadata.h b/Source/modules/filesystem/Metadata.h |
index 2a25f044705e1542d0f9d09cff3d248e09ec0418..683793c6aaeb469bfe0e7f5a1e7e5917fb07ad8a 100644 |
--- a/Source/modules/filesystem/Metadata.h |
+++ b/Source/modules/filesystem/Metadata.h |
@@ -34,20 +34,19 @@ |
#include "bindings/v8/ScriptWrappable.h" |
#include "platform/FileMetadata.h" |
#include "platform/heap/Handle.h" |
-#include "wtf/RefCounted.h" |
namespace WebCore { |
-class Metadata : public RefCountedWillBeGarbageCollectedFinalized<Metadata>, public ScriptWrappable { |
+class Metadata : public GarbageCollectedFinalized<Metadata>, public ScriptWrappable { |
public: |
- static PassRefPtrWillBeRawPtr<Metadata> create(const FileMetadata& platformMetadata) |
+ static Metadata* create(const FileMetadata& platformMetadata) |
{ |
- return adoptRefWillBeNoop(new Metadata(platformMetadata)); |
+ return new Metadata(platformMetadata); |
} |
- static PassRefPtrWillBeRawPtr<Metadata> create(Metadata* metadata) |
+ static Metadata* create(Metadata* metadata) |
{ |
- return adoptRefWillBeNoop(new Metadata(metadata->m_platformMetadata)); |
+ return new Metadata(metadata->m_platformMetadata); |
} |
// Needs to return epoch time in milliseconds for Date while FileMetadata's modificationTime is in seconds. |