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

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

Issue 314333002: Enable Oilpan by default in modules/filesystem/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove consts from conversion ctor + copy assignment op Created 6 years, 6 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
« no previous file with comments | « Source/modules/filesystem/EntrySync.h ('k') | Source/modules/filesystem/EntrySync.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/EntrySync.cpp
diff --git a/Source/modules/filesystem/EntrySync.cpp b/Source/modules/filesystem/EntrySync.cpp
index 43a36f4a0ad24df1a45355c3e790b7b5d79e82eb..1180664079587989e43c0626cea85732a8e88422 100644
--- a/Source/modules/filesystem/EntrySync.cpp
+++ b/Source/modules/filesystem/EntrySync.cpp
@@ -43,31 +43,31 @@
namespace WebCore {
-PassRefPtrWillBeRawPtr<EntrySync> EntrySync::create(EntryBase* entry)
+EntrySync* EntrySync::create(EntryBase* entry)
{
if (entry->isFile())
return FileEntrySync::create(entry->m_fileSystem, entry->m_fullPath);
return DirectoryEntrySync::create(entry->m_fileSystem, entry->m_fullPath);
}
-PassRefPtrWillBeRawPtr<Metadata> EntrySync::getMetadata(ExceptionState& exceptionState)
+Metadata* EntrySync::getMetadata(ExceptionState& exceptionState)
{
RefPtr<MetadataSyncCallbackHelper> helper = MetadataSyncCallbackHelper::create();
m_fileSystem->getMetadata(this, helper->successCallback(), helper->errorCallback(), DOMFileSystemBase::Synchronous);
return helper->getResult(exceptionState);
}
-PassRefPtrWillBeRawPtr<EntrySync> EntrySync::moveTo(PassRefPtrWillBeRawPtr<DirectoryEntrySync> parent, const String& name, ExceptionState& exceptionState) const
+EntrySync* EntrySync::moveTo(DirectoryEntrySync* parent, const String& name, ExceptionState& exceptionState) const
{
RefPtr<EntrySyncCallbackHelper> helper = EntrySyncCallbackHelper::create();
- m_fileSystem->move(this, parent.get(), name, helper->successCallback(), helper->errorCallback(), DOMFileSystemBase::Synchronous);
+ m_fileSystem->move(this, parent, name, helper->successCallback(), helper->errorCallback(), DOMFileSystemBase::Synchronous);
return helper->getResult(exceptionState);
}
-PassRefPtrWillBeRawPtr<EntrySync> EntrySync::copyTo(PassRefPtrWillBeRawPtr<DirectoryEntrySync> parent, const String& name, ExceptionState& exceptionState) const
+EntrySync* EntrySync::copyTo(DirectoryEntrySync* parent, const String& name, ExceptionState& exceptionState) const
{
RefPtr<EntrySyncCallbackHelper> helper = EntrySyncCallbackHelper::create();
- m_fileSystem->copy(this, parent.get(), name, helper->successCallback(), helper->errorCallback(), DOMFileSystemBase::Synchronous);
+ m_fileSystem->copy(this, parent, name, helper->successCallback(), helper->errorCallback(), DOMFileSystemBase::Synchronous);
return helper->getResult(exceptionState);
}
@@ -78,14 +78,14 @@ void EntrySync::remove(ExceptionState& exceptionState) const
helper->getResult(exceptionState);
}
-PassRefPtrWillBeRawPtr<EntrySync> EntrySync::getParent() const
+EntrySync* EntrySync::getParent() const
{
// Sync verion of getParent doesn't throw exceptions.
String parentPath = DOMFilePath::getDirectory(fullPath());
return DirectoryEntrySync::create(m_fileSystem, parentPath);
}
-EntrySync::EntrySync(PassRefPtrWillBeRawPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
+EntrySync::EntrySync(DOMFileSystemBase* fileSystem, const String& fullPath)
: EntryBase(fileSystem, fullPath)
{
ScriptWrappable::init(this);
« no previous file with comments | « Source/modules/filesystem/EntrySync.h ('k') | Source/modules/filesystem/EntrySync.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698