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

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

Issue 188503002: Oilpan: add transition types to FileSystem APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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
« no previous file with comments | « Source/modules/filesystem/EntrySync.idl ('k') | Source/modules/filesystem/FileEntry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/FileEntry.h
diff --git a/Source/modules/filesystem/FileEntry.h b/Source/modules/filesystem/FileEntry.h
index acfcda3c9d530309d924e681fb7e6105c43cfea6..6f387f197fcb79f7a102dd09fad9729749ac3d6b 100644
--- a/Source/modules/filesystem/FileEntry.h
+++ b/Source/modules/filesystem/FileEntry.h
@@ -31,6 +31,7 @@
#ifndef FileEntry_h
#define FileEntry_h
+#include "heap/Handle.h"
#include "modules/filesystem/Entry.h"
namespace WebCore {
@@ -41,9 +42,9 @@ class FileWriterCallback;
class FileEntry FINAL : public Entry {
public:
- static PassRefPtr<FileEntry> create(PassRefPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
+ static PassRefPtrWillBeRawPtr<FileEntry> create(PassRefPtrWillBeRawPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
{
- return adoptRef(new FileEntry(fileSystem, fullPath));
+ return adoptRefWillBeNoop(new FileEntry(fileSystem, fullPath));
}
void createWriter(PassOwnPtr<FileWriterCallback>, PassOwnPtr<ErrorCallback> = nullptr);
@@ -51,8 +52,10 @@ public:
virtual bool isFile() const OVERRIDE { return true; }
+ virtual void trace(Visitor*) OVERRIDE;
+
private:
- FileEntry(PassRefPtr<DOMFileSystemBase>, const String& fullPath);
+ FileEntry(PassRefPtrWillBeRawPtr<DOMFileSystemBase>, const String& fullPath);
};
DEFINE_TYPE_CASTS(FileEntry, Entry, entry, entry->isFile(), entry.isFile());
« no previous file with comments | « Source/modules/filesystem/EntrySync.idl ('k') | Source/modules/filesystem/FileEntry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698