Index: Source/modules/filesystem/FileEntrySync.h |
diff --git a/Source/modules/filesystem/FileEntrySync.h b/Source/modules/filesystem/FileEntrySync.h |
index ecf09e85f37e453c328673f1a797043c1cc39f4c..5c61b6675770bb5cc6c686c423b388a70a1757d2 100644 |
--- a/Source/modules/filesystem/FileEntrySync.h |
+++ b/Source/modules/filesystem/FileEntrySync.h |
@@ -33,7 +33,6 @@ |
#include "modules/filesystem/EntrySync.h" |
#include "platform/heap/Handle.h" |
-#include "wtf/RefCounted.h" |
#include "wtf/text/WTFString.h" |
namespace WebCore { |
@@ -44,9 +43,9 @@ class FileWriterSync; |
class FileEntrySync FINAL : public EntrySync { |
public: |
- static PassRefPtrWillBeRawPtr<FileEntrySync> create(PassRefPtrWillBeRawPtr<DOMFileSystemBase> fileSystem, const String& fullPath) |
+ static FileEntrySync* create(DOMFileSystemBase* fileSystem, const String& fullPath) |
{ |
- return adoptRefWillBeNoop(new FileEntrySync(fileSystem, fullPath)); |
+ return new FileEntrySync(fileSystem, fullPath); |
} |
virtual bool isFile() const OVERRIDE { return true; } |
@@ -57,7 +56,7 @@ public: |
virtual void trace(Visitor*) OVERRIDE; |
private: |
- FileEntrySync(PassRefPtrWillBeRawPtr<DOMFileSystemBase>, const String& fullPath); |
+ FileEntrySync(DOMFileSystemBase*, const String& fullPath); |
}; |
DEFINE_TYPE_CASTS(FileEntrySync, EntrySync, entry, entry->isFile(), entry.isFile()); |