Index: Source/modules/filesystem/DirectoryReaderSync.h |
diff --git a/Source/modules/filesystem/DirectoryReaderSync.h b/Source/modules/filesystem/DirectoryReaderSync.h |
index 1ecdf82a4d59c93b536d6ee44decc15a3e8f990d..ff056d39af0b3a1d009258e2fb78e16315e46580 100644 |
--- a/Source/modules/filesystem/DirectoryReaderSync.h |
+++ b/Source/modules/filesystem/DirectoryReaderSync.h |
@@ -32,6 +32,7 @@ |
#define DirectoryReaderSync_h |
#include "bindings/v8/ScriptWrappable.h" |
+#include "heap/Handle.h" |
#include "modules/filesystem/DirectoryReaderBase.h" |
#include "wtf/PassRefPtr.h" |
#include "wtf/RefCounted.h" |
@@ -43,19 +44,19 @@ namespace WebCore { |
class EntrySync; |
class ExceptionState; |
-typedef Vector<RefPtr<EntrySync> > EntrySyncVector; |
+typedef WillBeHeapVector<RefPtrWillBeMember<EntrySync> > EntrySyncVector; |
haraken
2014/03/07 08:24:35
EntrySyncVector => EntrySyncHeapVector (to make th
sof
2014/03/07 09:37:36
Done.
|
class DirectoryReaderSync : public DirectoryReaderBase, public ScriptWrappable { |
public: |
- static PassRefPtr<DirectoryReaderSync> create(PassRefPtr<DOMFileSystemBase> fileSystem, const String& fullPath) |
+ static PassRefPtrWillBeRawPtr<DirectoryReaderSync> create(PassRefPtrWillBeRawPtr<DOMFileSystemBase> fileSystem, const String& fullPath) |
{ |
- return adoptRef(new DirectoryReaderSync(fileSystem, fullPath)); |
+ return adoptRefWillBeNoop(new DirectoryReaderSync(fileSystem, fullPath)); |
} |
EntrySyncVector readEntries(ExceptionState&); |
private: |
- DirectoryReaderSync(PassRefPtr<DOMFileSystemBase>, const String& fullPath); |
+ DirectoryReaderSync(PassRefPtrWillBeRawPtr<DOMFileSystemBase>, const String& fullPath); |
}; |
} // namespace |