Index: Source/modules/filesystem/DirectoryReader.h |
diff --git a/Source/modules/filesystem/DirectoryReader.h b/Source/modules/filesystem/DirectoryReader.h |
index 7ec604d2718eb849c391053269e24348f9c07562..965896bb2637e7e096ed6460ad30c6350b61a25d 100644 |
--- a/Source/modules/filesystem/DirectoryReader.h |
+++ b/Source/modules/filesystem/DirectoryReader.h |
@@ -32,6 +32,7 @@ |
#define DirectoryReader_h |
#include "bindings/v8/ScriptWrappable.h" |
+#include "heap/Handle.h" |
#include "modules/filesystem/DOMFileSystem.h" |
#include "modules/filesystem/DirectoryReaderBase.h" |
#include "wtf/PassRefPtr.h" |
@@ -46,9 +47,9 @@ class ErrorCallback; |
class DirectoryReader : public DirectoryReaderBase, public ScriptWrappable { |
public: |
- static PassRefPtr<DirectoryReader> create(PassRefPtr<DOMFileSystemBase> fileSystem, const String& fullPath) |
+ static PassRefPtrWillBeRawPtr<DirectoryReader> create(PassRefPtrWillBeRawPtr<DOMFileSystemBase> fileSystem, const String& fullPath) |
{ |
- return adoptRef(new DirectoryReader(fileSystem, fullPath)); |
+ return adoptRefWillBeNoop(new DirectoryReader(fileSystem, fullPath)); |
} |
void readEntries(PassOwnPtr<EntriesCallback>, PassOwnPtr<ErrorCallback> = nullptr); |
@@ -56,7 +57,7 @@ public: |
DOMFileSystem* filesystem() const { return static_cast<DOMFileSystem*>(m_fileSystem.get()); } |
private: |
- DirectoryReader(PassRefPtr<DOMFileSystemBase>, const String& fullPath); |
+ DirectoryReader(PassRefPtrWillBeRawPtr<DOMFileSystemBase>, const String& fullPath); |
}; |
} |