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

Unified Diff: Source/modules/filesystem/DirectoryEntry.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
Index: Source/modules/filesystem/DirectoryEntry.h
diff --git a/Source/modules/filesystem/DirectoryEntry.h b/Source/modules/filesystem/DirectoryEntry.h
index ff37139dce6c8ed58933e872e03014dfad03031a..a1e8365e3727ede892a058031a7778348e2c0fa7 100644
--- a/Source/modules/filesystem/DirectoryEntry.h
+++ b/Source/modules/filesystem/DirectoryEntry.h
@@ -34,7 +34,6 @@
#include "modules/filesystem/Entry.h"
#include "modules/filesystem/FileSystemFlags.h"
#include "platform/heap/Handle.h"
-#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
namespace WebCore {
@@ -47,13 +46,13 @@ class VoidCallback;
class DirectoryEntry FINAL : public Entry {
public:
- static PassRefPtrWillBeRawPtr<DirectoryEntry> create(PassRefPtrWillBeRawPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
+ static DirectoryEntry* create(DOMFileSystemBase* fileSystem, const String& fullPath)
{
- return adoptRefWillBeNoop(new DirectoryEntry(fileSystem, fullPath));
+ return new DirectoryEntry(fileSystem, fullPath);
}
virtual bool isDirectory() const OVERRIDE { return true; }
- PassRefPtrWillBeRawPtr<DirectoryReader> createReader();
+ DirectoryReader* createReader();
void getFile(const String& path, const Dictionary&, PassOwnPtr<EntryCallback> = nullptr, PassOwnPtr<ErrorCallback> = nullptr);
void getDirectory(const String& path, const Dictionary&, PassOwnPtr<EntryCallback> = nullptr, PassOwnPtr<ErrorCallback> = nullptr);
void removeRecursively(PassOwnPtr<VoidCallback> successCallback = nullptr, PassOwnPtr<ErrorCallback> = nullptr) const;
@@ -61,7 +60,7 @@ public:
virtual void trace(Visitor*) OVERRIDE;
private:
- DirectoryEntry(PassRefPtrWillBeRawPtr<DOMFileSystemBase>, const String& fullPath);
+ DirectoryEntry(DOMFileSystemBase*, const String& fullPath);
};
DEFINE_TYPE_CASTS(DirectoryEntry, Entry, entry, entry->isDirectory(), entry.isDirectory());
« no previous file with comments | « Source/modules/filesystem/DataTransferItemFileSystem.cpp ('k') | Source/modules/filesystem/DirectoryEntry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698