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

Unified Diff: third_party/WebKit/Source/modules/filesystem/LocalFileSystem.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/modules/filesystem/LocalFileSystem.h
diff --git a/third_party/WebKit/Source/modules/filesystem/LocalFileSystem.h b/third_party/WebKit/Source/modules/filesystem/LocalFileSystem.h
index a5a8e0cd44f6d079234d79e9d243601e1becdd26..e4ac00e426c981e08dcfe6449acff350dd4a95f0 100644
--- a/third_party/WebKit/Source/modules/filesystem/LocalFileSystem.h
+++ b/third_party/WebKit/Source/modules/filesystem/LocalFileSystem.h
@@ -47,12 +47,11 @@ class KURL;
class LocalFrame;
class WebFileSystem;
-class LocalFileSystem final : public NoBaseWillBeGarbageCollectedFinalized<LocalFileSystem>, public WillBeHeapSupplement<LocalFrame>, public WillBeHeapSupplement<WorkerClients> {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(LocalFileSystem);
+class LocalFileSystem final : public GarbageCollectedFinalized<LocalFileSystem>, public HeapSupplement<LocalFrame>, public HeapSupplement<WorkerClients> {
+ USING_GARBAGE_COLLECTED_MIXIN(LocalFileSystem);
WTF_MAKE_NONCOPYABLE(LocalFileSystem);
- USING_FAST_MALLOC_WILL_BE_REMOVED(LocalFileSystem);
public:
- static PassOwnPtrWillBeRawPtr<LocalFileSystem> create(PassOwnPtr<FileSystemClient>);
+ static RawPtr<LocalFileSystem> create(PassOwnPtr<FileSystemClient>);
virtual ~LocalFileSystem();
void resolveURL(ExecutionContext*, const KURL&, PassOwnPtr<AsyncFileSystemCallbacks>);
@@ -66,8 +65,8 @@ public:
DEFINE_INLINE_VIRTUAL_TRACE()
{
- WillBeHeapSupplement<LocalFrame>::trace(visitor);
- WillBeHeapSupplement<WorkerClients>::trace(visitor);
+ HeapSupplement<LocalFrame>::trace(visitor);
+ HeapSupplement<WorkerClients>::trace(visitor);
}
protected:
@@ -76,11 +75,11 @@ protected:
private:
WebFileSystem* fileSystem() const;
void requestFileSystemAccessInternal(ExecutionContext*, PassOwnPtr<SameThreadClosure> allowed, PassOwnPtr<SameThreadClosure> denied);
- void fileSystemNotAvailable(PassRefPtrWillBeRawPtr<ExecutionContext>, CallbackWrapper*);
- void fileSystemNotAllowedInternal(PassRefPtrWillBeRawPtr<ExecutionContext>, CallbackWrapper*);
- void fileSystemAllowedInternal(PassRefPtrWillBeRawPtr<ExecutionContext>, FileSystemType, CallbackWrapper*);
- void resolveURLInternal(PassRefPtrWillBeRawPtr<ExecutionContext>, const KURL&, CallbackWrapper*);
- void deleteFileSystemInternal(PassRefPtrWillBeRawPtr<ExecutionContext>, FileSystemType, CallbackWrapper*);
+ void fileSystemNotAvailable(RawPtr<ExecutionContext>, CallbackWrapper*);
+ void fileSystemNotAllowedInternal(RawPtr<ExecutionContext>, CallbackWrapper*);
+ void fileSystemAllowedInternal(RawPtr<ExecutionContext>, FileSystemType, CallbackWrapper*);
+ void resolveURLInternal(RawPtr<ExecutionContext>, const KURL&, CallbackWrapper*);
+ void deleteFileSystemInternal(RawPtr<ExecutionContext>, FileSystemType, CallbackWrapper*);
OwnPtr<FileSystemClient> m_client;
};

Powered by Google App Engine
This is Rietveld 408576698