Index: Source/modules/filesystem/DirectoryReaderSync.h |
diff --git a/Source/modules/filesystem/DirectoryReaderSync.h b/Source/modules/filesystem/DirectoryReaderSync.h |
index 9154e671889dd9550a717b21bc8f9c3b2f0bbe39..5dd42642952fa5dbbe8f6e56bada12e5aa425476 100644 |
--- a/Source/modules/filesystem/DirectoryReaderSync.h |
+++ b/Source/modules/filesystem/DirectoryReaderSync.h |
@@ -35,8 +35,6 @@ |
#include "core/fileapi/FileError.h" |
#include "modules/filesystem/DirectoryReaderBase.h" |
#include "platform/heap/Handle.h" |
-#include "wtf/RefCounted.h" |
-#include "wtf/Vector.h" |
#include "wtf/text/WTFString.h" |
namespace WebCore { |
@@ -44,13 +42,13 @@ namespace WebCore { |
class EntrySync; |
class ExceptionState; |
-typedef WillBeHeapVector<RefPtrWillBeMember<EntrySync> > EntrySyncHeapVector; |
+typedef HeapVector<Member<EntrySync> > EntrySyncHeapVector; |
class DirectoryReaderSync : public DirectoryReaderBase, public ScriptWrappable { |
public: |
- static PassRefPtrWillBeRawPtr<DirectoryReaderSync> create(PassRefPtrWillBeRawPtr<DOMFileSystemBase> fileSystem, const String& fullPath) |
+ static DirectoryReaderSync* create(DOMFileSystemBase* fileSystem, const String& fullPath) |
{ |
- return adoptRefWillBeNoop(new DirectoryReaderSync(fileSystem, fullPath)); |
+ return new DirectoryReaderSync(fileSystem, fullPath); |
} |
virtual ~DirectoryReaderSync(); |
@@ -73,7 +71,7 @@ private: |
class EntriesCallbackHelper; |
class ErrorCallbackHelper; |
- DirectoryReaderSync(PassRefPtrWillBeRawPtr<DOMFileSystemBase>, const String& fullPath); |
+ DirectoryReaderSync(DOMFileSystemBase*, const String& fullPath); |
int m_callbacksId; |
EntrySyncHeapVector m_entries; |