Index: Source/modules/filesystem/InspectorFileSystemAgent.cpp |
diff --git a/Source/modules/filesystem/InspectorFileSystemAgent.cpp b/Source/modules/filesystem/InspectorFileSystemAgent.cpp |
index 4ee0ceea9ec3f01ed7217a4d2850118a74e13f54..888beb90e8e83820edd008d34fcbd7ff01c873fa 100644 |
--- a/Source/modules/filesystem/InspectorFileSystemAgent.cpp |
+++ b/Source/modules/filesystem/InspectorFileSystemAgent.cpp |
@@ -216,7 +216,7 @@ private: |
RefPtr<RequestDirectoryContentCallback> m_requestCallback; |
KURL m_url; |
RefPtr<Array<TypeBuilder::FileSystem::Entry> > m_entries; |
- RefPtrWillBePersistent<DirectoryReader> m_directoryReader; |
+ Persistent<DirectoryReader> m_directoryReader; |
}; |
void DirectoryContentRequest::start(ExecutionContext* executionContext) |
@@ -264,7 +264,7 @@ bool DirectoryContentRequest::didReadDirectoryEntries(const EntryHeapVector& ent |
} |
for (size_t i = 0; i < entries.size(); ++i) { |
- RefPtrWillBeRawPtr<Entry> entry = entries[i]; |
+ Entry* entry = entries[i]; |
RefPtr<TypeBuilder::FileSystem::Entry> entryForFrontend = TypeBuilder::FileSystem::Entry::create() |
.setUrl(entry->toURL()) |
.setName(entry->name()) |