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

Unified Diff: Source/modules/filesystem/DirectoryEntrySync.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/DirectoryEntrySync.h ('k') | Source/modules/filesystem/DirectoryReader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/DirectoryEntrySync.cpp
diff --git a/Source/modules/filesystem/DirectoryEntrySync.cpp b/Source/modules/filesystem/DirectoryEntrySync.cpp
index c154ea7dde051143febc948e00ec1f7492757aca..552ca8cbbd0fd4410caf0084c1cdcbc1368e172e 100644
--- a/Source/modules/filesystem/DirectoryEntrySync.cpp
+++ b/Source/modules/filesystem/DirectoryEntrySync.cpp
@@ -40,31 +40,31 @@
namespace WebCore {
-DirectoryEntrySync::DirectoryEntrySync(PassRefPtrWillBeRawPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
+DirectoryEntrySync::DirectoryEntrySync(DOMFileSystemBase* fileSystem, const String& fullPath)
: EntrySync(fileSystem, fullPath)
{
ScriptWrappable::init(this);
}
-PassRefPtrWillBeRawPtr<DirectoryReaderSync> DirectoryEntrySync::createReader()
+DirectoryReaderSync* DirectoryEntrySync::createReader()
{
return DirectoryReaderSync::create(m_fileSystem, m_fullPath);
}
-PassRefPtrWillBeRawPtr<FileEntrySync> DirectoryEntrySync::getFile(const String& path, const Dictionary& options, ExceptionState& exceptionState)
+FileEntrySync* DirectoryEntrySync::getFile(const String& path, const Dictionary& options, ExceptionState& exceptionState)
{
FileSystemFlags flags(options);
RefPtr<EntrySyncCallbackHelper> helper = EntrySyncCallbackHelper::create();
m_fileSystem->getFile(this, path, flags, helper->successCallback(), helper->errorCallback(), DOMFileSystemBase::Synchronous);
- return static_pointer_cast<FileEntrySync>(helper->getResult(exceptionState));
+ return static_cast<FileEntrySync*>(helper->getResult(exceptionState));
}
-PassRefPtrWillBeRawPtr<DirectoryEntrySync> DirectoryEntrySync::getDirectory(const String& path, const Dictionary& options, ExceptionState& exceptionState)
+DirectoryEntrySync* DirectoryEntrySync::getDirectory(const String& path, const Dictionary& options, ExceptionState& exceptionState)
{
FileSystemFlags flags(options);
RefPtr<EntrySyncCallbackHelper> helper = EntrySyncCallbackHelper::create();
m_fileSystem->getDirectory(this, path, flags, helper->successCallback(), helper->errorCallback(), DOMFileSystemBase::Synchronous);
- return static_pointer_cast<DirectoryEntrySync>(helper->getResult(exceptionState));
+ return static_cast<DirectoryEntrySync*>(helper->getResult(exceptionState));
}
void DirectoryEntrySync::removeRecursively(ExceptionState& exceptionState)
« no previous file with comments | « Source/modules/filesystem/DirectoryEntrySync.h ('k') | Source/modules/filesystem/DirectoryReader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698