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

Unified Diff: third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.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/modules/encryptedmedia/MediaKeys.cpp
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.cpp b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.cpp
index 0620e002b75e816b6a19e79fd2e20012f9f04cdf..66afd1f2cf93984b0cbb45e392a32909a0d4182b 100644
--- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.cpp
+++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.cpp
@@ -42,7 +42,7 @@
namespace blink {
// A class holding a pending action.
-class MediaKeys::PendingAction : public GarbageCollectedFinalized<MediaKeys::PendingAction> {
+class MediaKeys::PendingAction final : public GarbageCollected<MediaKeys::PendingAction> {
public:
const Persistent<ContentDecryptionModuleResult> result() const
{
@@ -61,10 +61,6 @@ public:
return new PendingAction(result, serverCertificate);
}
- ~PendingAction()
- {
- }
-
DEFINE_INLINE_TRACE()
{
visitor->trace(m_result);
« no previous file with comments | « third_party/WebKit/Source/modules/canvas2d/HitRegion.h ('k') | third_party/WebKit/Source/modules/fetch/FetchManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698