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

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

Issue 1929493002: Remove unnecessary uses of GarbageCollectedFinalized<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add two leftover classes needing same treatment Created 4 years, 8 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 c1ae6ec94af332be5144abb82f9d819078f97dc1..7b15720b0c185138abbe59ac0e20d9a54ecc716e 100644
--- a/third_party/WebKit/Source/core/fileapi/FileReader.cpp
+++ b/third_party/WebKit/Source/core/fileapi/FileReader.cpp
@@ -69,7 +69,7 @@ const CString utf8FilePath(Blob* blob)
static const size_t kMaxOutstandingRequestsPerThread = 100;
static const double progressNotificationIntervalMS = 50;
-class FileReader::ThrottlingController final : public GarbageCollectedFinalized<FileReader::ThrottlingController>, public Supplement<ExecutionContext> {
+class FileReader::ThrottlingController final : public GarbageCollected<FileReader::ThrottlingController>, public Supplement<ExecutionContext> {
USING_GARBAGE_COLLECTED_MIXIN(FileReader::ThrottlingController);
public:
static ThrottlingController* from(ExecutionContext* context)
@@ -85,8 +85,6 @@ public:
return controller;
}
- ~ThrottlingController() { }
-
enum FinishReaderType { DoNotRunPendingReaders, RunPendingReaders };
static void pushReader(ExecutionContext* context, FileReader* reader)
« no previous file with comments | « third_party/WebKit/Source/core/fetch/MemoryCache.h ('k') | third_party/WebKit/Source/core/html/ValidityState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698