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

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

Issue 2596443005: Replace DOMWindowProperty in Navigator supplements with ContextClient (Closed)
Patch Set: Created 4 years 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/NavigatorWebMIDI.h
diff --git a/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.h b/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.h
index 00c239e548ad363cb049e9cc663d96c8e7e09148..cc1a1d84ad3ab7f68a533f755601f528d43bd5a9 100644
--- a/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.h
+++ b/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.h
@@ -32,7 +32,7 @@
#define NavigatorWebMIDI_h
#include "bindings/core/v8/ScriptPromise.h"
-#include "core/frame/DOMWindowProperty.h"
+#include "core/dom/ContextLifecycleObserver.h"
#include "modules/webmidi/MIDIOptions.h"
#include "platform/Supplementable.h"
#include "platform/heap/Handle.h"
@@ -43,7 +43,7 @@ class Navigator;
class NavigatorWebMIDI final : public GarbageCollected<NavigatorWebMIDI>,
public Supplement<Navigator>,
- public DOMWindowProperty {
+ public ContextClient {
USING_GARBAGE_COLLECTED_MIXIN(NavigatorWebMIDI);
public:
« no previous file with comments | « third_party/WebKit/Source/modules/vr/NavigatorVR.cpp ('k') | third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698