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

Unified Diff: Source/modules/filesystem/DOMFileSystemSync.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/DOMFileSystemBase.cpp ('k') | Source/modules/filesystem/DOMFileSystemSync.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/DOMFileSystemSync.h
diff --git a/Source/modules/filesystem/DOMFileSystemSync.h b/Source/modules/filesystem/DOMFileSystemSync.h
index f98f751b94050acdee39b073e56a4930cb4b08fc..2547c2fc7d634d139e03e674a5ed12f8544ef5d7 100644
--- a/Source/modules/filesystem/DOMFileSystemSync.h
+++ b/Source/modules/filesystem/DOMFileSystemSync.h
@@ -45,21 +45,21 @@ class ExceptionState;
class DOMFileSystemSync FINAL : public DOMFileSystemBase, public ScriptWrappable {
public:
- static PassRefPtr<DOMFileSystemSync> create(ExecutionContext* context, const String& name, FileSystemType type, const KURL& rootURL)
+ static PassRefPtrWillBeRawPtr<DOMFileSystemSync> create(ExecutionContext* context, const String& name, FileSystemType type, const KURL& rootURL)
{
- return adoptRef(new DOMFileSystemSync(context, name, type, rootURL));
+ return adoptRefWillBeRefCountedGarbageCollected(new DOMFileSystemSync(context, name, type, rootURL));
}
- static PassRefPtr<DOMFileSystemSync> create(DOMFileSystemBase*);
+ static PassRefPtrWillBeRawPtr<DOMFileSystemSync> create(DOMFileSystemBase*);
virtual ~DOMFileSystemSync();
virtual void reportError(PassOwnPtr<ErrorCallback>, PassRefPtrWillBeRawPtr<FileError>) OVERRIDE;
- PassRefPtr<DirectoryEntrySync> root();
+ PassRefPtrWillBeRawPtr<DirectoryEntrySync> root();
PassRefPtrWillBeRawPtr<File> createFile(const FileEntrySync*, ExceptionState&);
- PassRefPtr<FileWriterSync> createWriter(const FileEntrySync*, ExceptionState&);
+ PassRefPtrWillBeRawPtr<FileWriterSync> createWriter(const FileEntrySync*, ExceptionState&);
private:
DOMFileSystemSync(ExecutionContext*, const String& name, FileSystemType, const KURL& rootURL);
« no previous file with comments | « Source/modules/filesystem/DOMFileSystemBase.cpp ('k') | Source/modules/filesystem/DOMFileSystemSync.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698