Index: Source/modules/filesystem/DirectoryReaderBase.h |
diff --git a/Source/modules/filesystem/DirectoryReaderBase.h b/Source/modules/filesystem/DirectoryReaderBase.h |
index c2b27569eee961b09440111961c4e49c2c4a7f25..7b3e06ff7c6cd0ba43683589e3d0db8911d76320 100644 |
--- a/Source/modules/filesystem/DirectoryReaderBase.h |
+++ b/Source/modules/filesystem/DirectoryReaderBase.h |
@@ -33,12 +33,11 @@ |
#include "modules/filesystem/DOMFileSystemBase.h" |
#include "platform/heap/Handle.h" |
-#include "wtf/RefCounted.h" |
#include "wtf/text/WTFString.h" |
namespace WebCore { |
-class DirectoryReaderBase : public RefCountedWillBeGarbageCollectedFinalized<DirectoryReaderBase> { |
+class DirectoryReaderBase : public GarbageCollectedFinalized<DirectoryReaderBase> { |
public: |
DOMFileSystemBase* filesystem() const { return m_fileSystem.get(); } |
void setHasMoreEntries(bool hasMoreEntries) { m_hasMoreEntries = hasMoreEntries; } |
@@ -51,14 +50,14 @@ public: |
} |
protected: |
- DirectoryReaderBase(PassRefPtrWillBeRawPtr<DOMFileSystemBase> fileSystem, const String& fullPath) |
+ DirectoryReaderBase(DOMFileSystemBase* fileSystem, const String& fullPath) |
: m_fileSystem(fileSystem) |
, m_fullPath(fullPath) |
, m_hasMoreEntries(true) |
{ |
} |
- RefPtrWillBeMember<DOMFileSystemBase> m_fileSystem; |
+ Member<DOMFileSystemBase> m_fileSystem; |
// This is a virtual path. |
String m_fullPath; |