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

Unified Diff: Source/modules/webmidi/NavigatorWebMIDI.h

Issue 204063002: Oilpan: add transition types to Navigator and its supplements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adjust use of 'virtual' Created 6 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: Source/modules/webmidi/NavigatorWebMIDI.h
diff --git a/Source/modules/webmidi/NavigatorWebMIDI.h b/Source/modules/webmidi/NavigatorWebMIDI.h
index 11b7f6984d40c9b520c36f6e92b58a8975d8d582..3d7f9221f1a8f3869758911ddf56ea9f4f2ccd0b 100644
--- a/Source/modules/webmidi/NavigatorWebMIDI.h
+++ b/Source/modules/webmidi/NavigatorWebMIDI.h
@@ -32,6 +32,7 @@
#define NavigatorWebMIDI_h
#include "core/frame/DOMWindowProperty.h"
+#include "heap/Handle.h"
#include "modules/webmidi/MIDIOptions.h"
#include "platform/Supplementable.h"
@@ -40,7 +41,8 @@ namespace WebCore {
class MIDIAccessPromise;
class Navigator;
-class NavigatorWebMIDI FINAL : public Supplement<Navigator>, public DOMWindowProperty {
+class NavigatorWebMIDI FINAL : public NoBaseWillBeGarbageCollectedFinalized<NavigatorWebMIDI>, public WillBeHeapSupplement<Navigator>, public DOMWindowProperty {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorWebMIDI);
public:
virtual ~NavigatorWebMIDI();
static NavigatorWebMIDI& from(Navigator&);
@@ -48,6 +50,8 @@ public:
static PassRefPtrWillBeRawPtr<MIDIAccessPromise> requestMIDIAccess(Navigator&, const Dictionary&);
PassRefPtrWillBeRawPtr<MIDIAccessPromise> requestMIDIAccess(const Dictionary&);
+ void trace(Visitor*) { }
+
private:
NavigatorWebMIDI(LocalFrame*);
static const char* supplementName();
« no previous file with comments | « Source/modules/serviceworkers/NavigatorServiceWorker.cpp ('k') | Source/modules/webmidi/NavigatorWebMIDI.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698