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

Unified Diff: third_party/WebKit/Source/core/fileapi/FileReader.cpp

Issue 1853743005: Oilpan: Remove WillBe types (part 13) (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/core/fileapi/FileReader.cpp
diff --git a/third_party/WebKit/Source/core/fileapi/FileReader.cpp b/third_party/WebKit/Source/core/fileapi/FileReader.cpp
index e2bf23861efa672b41dd104b8db8f572998e903d..92234f455caa7da9ae70fb65fc0353c92bb2a864 100644
--- a/third_party/WebKit/Source/core/fileapi/FileReader.cpp
+++ b/third_party/WebKit/Source/core/fileapi/FileReader.cpp
@@ -71,18 +71,18 @@ const CString utf8FilePath(Blob* blob)
static const size_t kMaxOutstandingRequestsPerThread = 100;
static const double progressNotificationIntervalMS = 50;
-class FileReader::ThrottlingController final : public NoBaseWillBeGarbageCollectedFinalized<FileReader::ThrottlingController>, public WillBeHeapSupplement<ExecutionContext> {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(FileReader::ThrottlingController);
+class FileReader::ThrottlingController final : public GarbageCollectedFinalized<FileReader::ThrottlingController>, public HeapSupplement<ExecutionContext> {
+ USING_GARBAGE_COLLECTED_MIXIN(FileReader::ThrottlingController);
public:
static ThrottlingController* from(ExecutionContext* context)
{
if (!context)
return 0;
- ThrottlingController* controller = static_cast<ThrottlingController*>(WillBeHeapSupplement<ExecutionContext>::from(*context, supplementName()));
+ ThrottlingController* controller = static_cast<ThrottlingController*>(HeapSupplement<ExecutionContext>::from(*context, supplementName()));
if (!controller) {
controller = new ThrottlingController();
- WillBeHeapSupplement<ExecutionContext>::provideTo(*context, supplementName(), adoptPtrWillBeNoop(controller));
+ HeapSupplement<ExecutionContext>::provideTo(*context, supplementName(), adoptPtrWillBeNoop(controller));
}
return controller;
}
@@ -127,7 +127,7 @@ public:
visitor->trace(m_pendingReaders);
visitor->trace(m_runningReaders);
#endif
- WillBeHeapSupplement<ExecutionContext>::trace(visitor);
+ HeapSupplement<ExecutionContext>::trace(visitor);
}
private:
@@ -187,8 +187,8 @@ private:
const size_t m_maxRunningReaders;
- using FileReaderDeque = PersistentHeapDequeWillBeHeapDeque<Member<FileReader>>;
- using FileReaderHashSet = PersistentHeapHashSetWillBeHeapHashSet<Member<FileReader>>;
+ using FileReaderDeque = HeapDeque<Member<FileReader>>;
+ using FileReaderHashSet = HeapHashSet<Member<FileReader>>;
FileReaderDeque m_pendingReaders;
FileReaderHashSet m_runningReaders;

Powered by Google App Engine
This is Rietveld 408576698