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

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIController.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/webmidi/MIDIController.h
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIController.h b/third_party/WebKit/Source/modules/webmidi/MIDIController.h
index d1980c07d61d0c5625cb68ae9422b2362f681eff..5e3b7d0524bfc92a27e1318fbecec66f4b31d99c 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIController.h
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIController.h
@@ -40,7 +40,7 @@ class MIDIAccessInitializer;
class MIDIClient;
class MIDIOptions;
-class MIDIController final : public GarbageCollectedFinalized<MIDIController>, public HeapSupplement<LocalFrame> {
+class MIDIController final : public GarbageCollectedFinalized<MIDIController>, public Supplement<LocalFrame> {
USING_GARBAGE_COLLECTED_MIXIN(MIDIController);
public:
virtual ~MIDIController();
@@ -50,9 +50,9 @@ public:
static RawPtr<MIDIController> create(PassOwnPtr<MIDIClient>);
static const char* supplementName();
- static MIDIController* from(LocalFrame* frame) { return static_cast<MIDIController*>(HeapSupplement<LocalFrame>::from(frame, supplementName())); }
+ static MIDIController* from(LocalFrame* frame) { return static_cast<MIDIController*>(Supplement<LocalFrame>::from(frame, supplementName())); }
- DEFINE_INLINE_VIRTUAL_TRACE() { HeapSupplement<LocalFrame>::trace(visitor); }
+ DEFINE_INLINE_VIRTUAL_TRACE() { Supplement<LocalFrame>::trace(visitor); }
protected:
explicit MIDIController(PassOwnPtr<MIDIClient>);

Powered by Google App Engine
This is Rietveld 408576698