| Index: Source/modules/filesystem/FileEntrySync.h
|
| diff --git a/Source/modules/filesystem/FileEntrySync.h b/Source/modules/filesystem/FileEntrySync.h
|
| index ecf09e85f37e453c328673f1a797043c1cc39f4c..5de8f4c7787a886c54afba82719978bfb3a79a04 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,20 +43,20 @@ 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; }
|
|
|
| PassRefPtrWillBeRawPtr<File> file(ExceptionState&);
|
| - PassRefPtrWillBeRawPtr<FileWriterSync> createWriter(ExceptionState&);
|
| + FileWriterSync* createWriter(ExceptionState&);
|
|
|
| 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());
|
|
|