Index: Source/modules/filesystem/DirectoryReaderSync.cpp |
diff --git a/Source/modules/filesystem/DirectoryReaderSync.cpp b/Source/modules/filesystem/DirectoryReaderSync.cpp |
index 2ac5eef29b406c48d5f51d16e84882ec0db7f67e..5e2dbc01cebd778793662ddb72688a480766ea62 100644 |
--- a/Source/modules/filesystem/DirectoryReaderSync.cpp |
+++ b/Source/modules/filesystem/DirectoryReaderSync.cpp |
@@ -44,7 +44,7 @@ namespace WebCore { |
class DirectoryReaderSync::EntriesCallbackHelper : public EntriesCallback { |
public: |
- EntriesCallbackHelper(PassRefPtrWillBeRawPtr<DirectoryReaderSync> reader) |
+ explicit EntriesCallbackHelper(DirectoryReaderSync* reader) |
: m_reader(reader) |
{ |
} |
@@ -59,12 +59,12 @@ public: |
} |
private: |
- RefPtrWillBePersistent<DirectoryReaderSync> m_reader; |
+ Persistent<DirectoryReaderSync> m_reader; |
}; |
class DirectoryReaderSync::ErrorCallbackHelper : public ErrorCallback { |
public: |
- ErrorCallbackHelper(PassRefPtrWillBeRawPtr<DirectoryReaderSync> reader) |
+ explicit ErrorCallbackHelper(DirectoryReaderSync* reader) |
: m_reader(reader) |
{ |
} |
@@ -75,10 +75,10 @@ public: |
} |
private: |
- RefPtrWillBePersistent<DirectoryReaderSync> m_reader; |
+ Persistent<DirectoryReaderSync> m_reader; |
}; |
-DirectoryReaderSync::DirectoryReaderSync(PassRefPtrWillBeRawPtr<DOMFileSystemBase> fileSystem, const String& fullPath) |
+DirectoryReaderSync::DirectoryReaderSync(DOMFileSystemBase* fileSystem, const String& fullPath) |
: DirectoryReaderBase(fileSystem, fullPath) |
, m_callbacksId(0) |
, m_errorCode(FileError::OK) |