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

Unified Diff: Source/modules/encryptedmedia/MediaKeysController.h

Issue 255983003: Oilpan: Move all supplements of Page, Document, and WorkerClients to the managed heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: using namespace WebCore Created 6 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: Source/modules/encryptedmedia/MediaKeysController.h
diff --git a/Source/modules/encryptedmedia/MediaKeysController.h b/Source/modules/encryptedmedia/MediaKeysController.h
index 2439639717515a75f05a824ad260c73cb6381593..e6c62931bc6e6c2e2ad2f7b6d98d5b3beff165e2 100644
--- a/Source/modules/encryptedmedia/MediaKeysController.h
+++ b/Source/modules/encryptedmedia/MediaKeysController.h
@@ -17,14 +17,13 @@ namespace WebCore {
class ExecutionContext;
class MediaKeysClient;
-class MediaKeysController FINAL : public Supplement<Page> {
+class MediaKeysController FINAL : public NoBaseWillBeGarbageCollected<MediaKeysController>, public WillBeHeapSupplement<Page> {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaKeysController);
public:
- virtual ~MediaKeysController();
-
PassOwnPtr<blink::WebContentDecryptionModule> createContentDecryptionModule(ExecutionContext*, const String& keySystem);
static void provideMediaKeysTo(Page&, MediaKeysClient*);
- static MediaKeysController* from(Page* page) { return static_cast<MediaKeysController*>(Supplement<Page>::from(page, supplementName())); }
+ static MediaKeysController* from(Page* page) { return static_cast<MediaKeysController*>(WillBeHeapSupplement<Page>::from(page, supplementName())); }
virtual void trace(Visitor*) OVERRIDE { }

Powered by Google App Engine
This is Rietveld 408576698