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

Unified Diff: Source/modules/filesystem/DirectoryEntrySync.h

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/DirectoryEntry.cpp ('k') | Source/modules/filesystem/DirectoryEntrySync.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/DirectoryEntrySync.h
diff --git a/Source/modules/filesystem/DirectoryEntrySync.h b/Source/modules/filesystem/DirectoryEntrySync.h
index 754aa457020a59eb4953bbe20e79df38221c504e..b4f2999c3ef1a722cb62644952fe1858b4fc8e74 100644
--- a/Source/modules/filesystem/DirectoryEntrySync.h
+++ b/Source/modules/filesystem/DirectoryEntrySync.h
@@ -33,7 +33,6 @@
#include "modules/filesystem/EntrySync.h"
#include "modules/filesystem/FileSystemFlags.h"
-#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
namespace WebCore {
@@ -44,21 +43,21 @@ class FileEntrySync;
class DirectoryEntrySync FINAL : public EntrySync {
public:
- static PassRefPtrWillBeRawPtr<DirectoryEntrySync> create(PassRefPtrWillBeRawPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
+ static DirectoryEntrySync* create(DOMFileSystemBase* fileSystem, const String& fullPath)
{
- return adoptRefWillBeNoop(new DirectoryEntrySync(fileSystem, fullPath));
+ return new DirectoryEntrySync(fileSystem, fullPath);
}
virtual bool isDirectory() const OVERRIDE { return true; }
- PassRefPtrWillBeRawPtr<DirectoryReaderSync> createReader();
- PassRefPtrWillBeRawPtr<FileEntrySync> getFile(const String& path, const Dictionary&, ExceptionState&);
- PassRefPtrWillBeRawPtr<DirectoryEntrySync> getDirectory(const String& path, const Dictionary&, ExceptionState&);
+ DirectoryReaderSync* createReader();
+ FileEntrySync* getFile(const String& path, const Dictionary&, ExceptionState&);
+ DirectoryEntrySync* getDirectory(const String& path, const Dictionary&, ExceptionState&);
void removeRecursively(ExceptionState&);
virtual void trace(Visitor*) OVERRIDE;
private:
- DirectoryEntrySync(PassRefPtrWillBeRawPtr<DOMFileSystemBase>, const String& fullPath);
+ DirectoryEntrySync(DOMFileSystemBase*, const String& fullPath);
};
DEFINE_TYPE_CASTS(DirectoryEntrySync, EntrySync, entry, entry->isDirectory(), entry.isDirectory());
« no previous file with comments | « Source/modules/filesystem/DirectoryEntry.cpp ('k') | Source/modules/filesystem/DirectoryEntrySync.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698