diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/modules/filesystem/Entry.cpp')
-rw-r--r-- | chromium/third_party/WebKit/Source/modules/filesystem/Entry.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/chromium/third_party/WebKit/Source/modules/filesystem/Entry.cpp b/chromium/third_party/WebKit/Source/modules/filesystem/Entry.cpp index d518d966f00..530cb5ed5f9 100644 --- a/chromium/third_party/WebKit/Source/modules/filesystem/Entry.cpp +++ b/chromium/third_party/WebKit/Source/modules/filesystem/Entry.cpp @@ -43,7 +43,7 @@ namespace WebCore { -Entry::Entry(PassRefPtr<DOMFileSystemBase> fileSystem, const String& fullPath) +Entry::Entry(DOMFileSystemBase* fileSystem, const String& fullPath) : EntryBase(fileSystem, fullPath) { ScriptWrappable::init(this); @@ -54,14 +54,14 @@ void Entry::getMetadata(PassOwnPtr<MetadataCallback> successCallback, PassOwnPtr m_fileSystem->getMetadata(this, successCallback, errorCallback); } -void Entry::moveTo(PassRefPtr<DirectoryEntry> parent, const String& name, PassOwnPtr<EntryCallback> successCallback, PassOwnPtr<ErrorCallback> errorCallback) const +void Entry::moveTo(DirectoryEntry* parent, const String& name, PassOwnPtr<EntryCallback> successCallback, PassOwnPtr<ErrorCallback> errorCallback) const { - m_fileSystem->move(this, parent.get(), name, successCallback, errorCallback); + m_fileSystem->move(this, parent, name, successCallback, errorCallback); } -void Entry::copyTo(PassRefPtr<DirectoryEntry> parent, const String& name, PassOwnPtr<EntryCallback> successCallback, PassOwnPtr<ErrorCallback> errorCallback) const +void Entry::copyTo(DirectoryEntry* parent, const String& name, PassOwnPtr<EntryCallback> successCallback, PassOwnPtr<ErrorCallback> errorCallback) const { - m_fileSystem->copy(this, parent.get(), name, successCallback, errorCallback); + m_fileSystem->copy(this, parent, name, successCallback, errorCallback); } void Entry::remove(PassOwnPtr<VoidCallback> successCallback, PassOwnPtr<ErrorCallback> errorCallback) const @@ -74,4 +74,9 @@ void Entry::getParent(PassOwnPtr<EntryCallback> successCallback, PassOwnPtr<Erro m_fileSystem->getParent(this, successCallback, errorCallback); } +void Entry::trace(Visitor* visitor) +{ + EntryBase::trace(visitor); +} + } // namespace WebCore |