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

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

Issue 2614943003: Remove ContextClient from NavigatorMIDI (Closed)
Patch Set: Created 3 years, 11 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/NavigatorWebMIDI.h
diff --git a/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.h b/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.h
index 728f564f26e917c8add603b7a99c72e395aee449..f9551d348603b245182d9d707bf6cbe6356b1d8e 100644
--- a/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.h
+++ b/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.h
@@ -32,7 +32,6 @@
#define NavigatorWebMIDI_h
#include "bindings/core/v8/ScriptPromise.h"
-#include "core/dom/ContextLifecycleObserver.h"
#include "core/frame/Navigator.h"
#include "modules/webmidi/MIDIOptions.h"
#include "platform/Supplementable.h"
@@ -43,8 +42,7 @@ namespace blink {
class Navigator;
class NavigatorWebMIDI final : public GarbageCollected<NavigatorWebMIDI>,
- public Supplement<Navigator>,
- public ContextClient {
+ public Supplement<Navigator> {
USING_GARBAGE_COLLECTED_MIXIN(NavigatorWebMIDI);
public:
@@ -57,7 +55,7 @@ class NavigatorWebMIDI final : public GarbageCollected<NavigatorWebMIDI>,
DECLARE_VIRTUAL_TRACE();
private:
- explicit NavigatorWebMIDI(LocalFrame*);
+ explicit NavigatorWebMIDI(Navigator&);
static const char* supplementName();
};

Powered by Google App Engine
This is Rietveld 408576698