Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2940)

Unified Diff: Source/modules/filesystem/Entry.cpp

Issue 188503002: Oilpan: add transition types to FileSystem APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Avoid DirectoryReaderBase virtuals Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/filesystem/Entry.cpp
diff --git a/Source/modules/filesystem/Entry.cpp b/Source/modules/filesystem/Entry.cpp
index d518d966f006f3e15d9c62efb5be5f430a175b00..3eb6bce7b99df674a86363cc37fdff215c58ccd4 100644
--- a/Source/modules/filesystem/Entry.cpp
+++ b/Source/modules/filesystem/Entry.cpp
@@ -43,7 +43,7 @@
namespace WebCore {
-Entry::Entry(PassRefPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
+Entry::Entry(PassRefPtrWillBeRawPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
: EntryBase(fileSystem, fullPath)
{
ScriptWrappable::init(this);
@@ -54,12 +54,12 @@ 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(PassRefPtrWillBeRawPtr<DirectoryEntry> parent, const String& name, PassOwnPtr<EntryCallback> successCallback, PassOwnPtr<ErrorCallback> errorCallback) const
{
m_fileSystem->move(this, parent.get(), name, successCallback, errorCallback);
}
-void Entry::copyTo(PassRefPtr<DirectoryEntry> parent, const String& name, PassOwnPtr<EntryCallback> successCallback, PassOwnPtr<ErrorCallback> errorCallback) const
+void Entry::copyTo(PassRefPtrWillBeRawPtr<DirectoryEntry> parent, const String& name, PassOwnPtr<EntryCallback> successCallback, PassOwnPtr<ErrorCallback> errorCallback) const
{
m_fileSystem->copy(this, parent.get(), name, successCallback, errorCallback);
}

Powered by Google App Engine
This is Rietveld 408576698