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

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

Issue 1846913009: HeapSupplements are now just Supplements. (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/encryptedmedia/MediaKeysController.h
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeysController.h b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeysController.h
index eebb3832fac7721bdeed9bee4fac88f28e35bb85..6db7648de06935aa728e4457a890a21dd9a2e1e9 100644
--- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeysController.h
+++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeysController.h
@@ -14,15 +14,15 @@ class ExecutionContext;
class MediaKeysClient;
class WebEncryptedMediaClient;
-class MODULES_EXPORT MediaKeysController final : public GarbageCollected<MediaKeysController>, public HeapSupplement<Page> {
+class MODULES_EXPORT MediaKeysController final : public GarbageCollected<MediaKeysController>, public Supplement<Page> {
USING_GARBAGE_COLLECTED_MIXIN(MediaKeysController);
public:
WebEncryptedMediaClient* encryptedMediaClient(ExecutionContext*);
static void provideMediaKeysTo(Page&, MediaKeysClient*);
- static MediaKeysController* from(Page* page) { return static_cast<MediaKeysController*>(HeapSupplement<Page>::from(page, supplementName())); }
+ static MediaKeysController* from(Page* page) { return static_cast<MediaKeysController*>(Supplement<Page>::from(page, supplementName())); }
- DEFINE_INLINE_VIRTUAL_TRACE() { HeapSupplement<Page>::trace(visitor); }
+ DEFINE_INLINE_VIRTUAL_TRACE() { Supplement<Page>::trace(visitor); }
private:
explicit MediaKeysController(MediaKeysClient*);

Powered by Google App Engine
This is Rietveld 408576698