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

Unified Diff: Source/modules/filesystem/FileEntrySync.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/FileEntry.cpp ('k') | Source/modules/filesystem/FileEntrySync.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/FileEntrySync.h
diff --git a/Source/modules/filesystem/FileEntrySync.h b/Source/modules/filesystem/FileEntrySync.h
index 7874f7ebdb01cee7872fb6f4b7cc56e62f0d47e5..aa58a2830345c55964b99e122fcc57c5e55002ee 100644
--- a/Source/modules/filesystem/FileEntrySync.h
+++ b/Source/modules/filesystem/FileEntrySync.h
@@ -45,18 +45,20 @@ class FileWriterSync;
class FileEntrySync FINAL : public EntrySync {
public:
- static PassRefPtr<FileEntrySync> create(PassRefPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
+ static PassRefPtrWillBeRawPtr<FileEntrySync> create(PassRefPtrWillBeRawPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
{
- return adoptRef(new FileEntrySync(fileSystem, fullPath));
+ return adoptRefWillBeNoop(new FileEntrySync(fileSystem, fullPath));
}
virtual bool isFile() const OVERRIDE { return true; }
PassRefPtrWillBeRawPtr<File> file(ExceptionState&);
- PassRefPtr<FileWriterSync> createWriter(ExceptionState&);
+ PassRefPtrWillBeRawPtr<FileWriterSync> createWriter(ExceptionState&);
+
+ virtual void trace(Visitor*) OVERRIDE;
private:
- FileEntrySync(PassRefPtr<DOMFileSystemBase>, const String& fullPath);
+ FileEntrySync(PassRefPtrWillBeRawPtr<DOMFileSystemBase>, const String& fullPath);
};
DEFINE_TYPE_CASTS(FileEntrySync, EntrySync, entry, entry->isFile(), entry.isFile());
« no previous file with comments | « Source/modules/filesystem/FileEntry.cpp ('k') | Source/modules/filesystem/FileEntrySync.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698